summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/implied_do_io_3.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/implied_do_io_3.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/implied_do_io_3.f906
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gfortran.dg/implied_do_io_3.f90 b/gcc/testsuite/gfortran.dg/implied_do_io_3.f90
index 6ac89ac8d2c..2f90d57ffaa 100644
--- a/gcc/testsuite/gfortran.dg/implied_do_io_3.f90
+++ b/gcc/testsuite/gfortran.dg/implied_do_io_3.f90
@@ -11,9 +11,9 @@ program main
a = reshape([(((i*10+j),i=1,3),j=1,3)], shape(a))
i = 2147483548
write (unit=line,fmt='(10I3)') (a(i,i),i=1,3)
- if (line /= ' 11 22 33') call abort
+ if (line /= ' 11 22 33') STOP 1
write (unit=line,fmt='(10I3)') (a(i+1,i+1),i=1,2)
- if (line /= ' 22 33') call abort
+ if (line /= ' 22 33') STOP 2
do k=1,3
do j=1,3
do i=1,3
@@ -23,5 +23,5 @@ program main
end do
i = -2147483548
write (unit=line,fmt='(10I4)') ((b(i,j,i),i=1,3),j=1,3)
- if (line /= ' 111 212 313 121 222 323 131 232 333') call abort
+ if (line /= ' 111 212 313 121 222 323 131 232 333') STOP 3
end program main