summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/reshape_7.f90
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/reshape_7.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/reshape_7.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.dg/reshape_7.f90 b/gcc/testsuite/gfortran.dg/reshape_7.f90
index 6e17f198d11..d752650aa4e 100644
--- a/gcc/testsuite/gfortran.dg/reshape_7.f90
+++ b/gcc/testsuite/gfortran.dg/reshape_7.f90
@@ -5,7 +5,7 @@ subroutine p0
integer, parameter :: sh(2) = [2, 3]
integer, parameter :: &
& a(2,2) = reshape([1, 2, 3, 4], sh) ! { dg-error "Different shape" }
- if (a(1,1) /= 0) call abort
+ if (a(1,1) /= 0) STOP 1
end subroutine p0
@@ -13,5 +13,5 @@ subroutine p1
integer, parameter :: sh(2) = [2, 1]
integer, parameter :: &
& a(2,2) = reshape([1, 2, 3, 4], sh) ! { dg-error "Different shape" }
- if (a(1,1) /= 0) call abort
+ if (a(1,1) /= 0) STOP 2
end subroutine p1