From 2b6bf87a20f2bcd5f821b9e2585b05d32f036319 Mon Sep 17 00:00:00 2001 From: Thomas Koenig Date: Thu, 15 Feb 2018 18:41:02 +0000 Subject: [PATCH] 2018-02-15 Thomas Koenig PR fortran/stop_shouldfail.f90: New test. From-SVN: r257702 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gfortran.dg/stop_shouldfail.f90 | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 gcc/testsuite/gfortran.dg/stop_shouldfail.f90 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 91e14ced710..93827567331 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-02-15 Thomas Koenig + + PR fortran/stop_shouldfail.f90: New test. + 2018-02-15 Paolo Carlini PR c++/84330 diff --git a/gcc/testsuite/gfortran.dg/stop_shouldfail.f90 b/gcc/testsuite/gfortran.dg/stop_shouldfail.f90 new file mode 100644 index 00000000000..11fc12b4dc9 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/stop_shouldfail.f90 @@ -0,0 +1,5 @@ +! { dg-do run } +! { dg-shouldfail "STOP 1" } +program main + stop 1 +end program main -- 2.30.2