summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/c_loc_test_20.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/c_loc_test_20.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/c_loc_test_20.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/c_loc_test_20.f90 b/gcc/testsuite/gfortran.dg/c_loc_test_20.f90
index 4ff0ca1bac0..8e3dd8d6675 100644
--- a/gcc/testsuite/gfortran.dg/c_loc_test_20.f90
+++ b/gcc/testsuite/gfortran.dg/c_loc_test_20.f90
@@ -25,10 +25,10 @@ program testcloc
cptr = c_loc (obj1%array)
call c_f_pointer (cptr, array, shape=[100])
- if (any (array /= [(i, i=1,100)])) call abort ()
+ if (any (array /= [(i, i=1,100)])) STOP 1
cptr = c_loc (obj1%array2)
call c_f_pointer (cptr, array, shape=[100])
- if (any (array /= [(i, i=1,100)])) call abort ()
+ if (any (array /= [(i, i=1,100)])) STOP 2
end program testcloc