diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/error_stop_1.f08')
-rw-r--r-- | gcc/testsuite/gfortran.dg/error_stop_1.f08 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/error_stop_1.f08 b/gcc/testsuite/gfortran.dg/error_stop_1.f08 new file mode 100644 index 000000000..80a19b1e7 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/error_stop_1.f08 @@ -0,0 +1,5 @@ +! { dg-do run } +program stopper + real, dimension(5,5,5) :: i + error stop size(i) ! { dg-shouldfail "ERROR STOP 125" } +end program stopper |