summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/enum_5.f90
diff options
context:
space:
mode:
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-18 23:04:50 +0000
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>2008-01-18 23:04:50 +0000
commitb475d984c692d88d7e4b54ad5f3866529f0b08a2 (patch)
tree2347f58366cba35057e0d8df5147c7fe732573cc /gcc/testsuite/gfortran.dg/enum_5.f90
parentcc28eddead08d4bc612f8cd398eb207d15d7da9d (diff)
downloadgcc-b475d984c692d88d7e4b54ad5f3866529f0b08a2.tar.gz
2008-01-18 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/enum_4.f90: Replace dg-excess-errors by dg-error. * gfortran.dg/enum_5.f90: Ditto. * gfortran.dg/enum_6.f90: Ditto. * gfortran.dg/bom_error.f90: Ditto. * gfortran.dg/func_decl_4.f90: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131642 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gfortran.dg/enum_5.f90')
-rw-r--r--gcc/testsuite/gfortran.dg/enum_5.f903
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/enum_5.f90 b/gcc/testsuite/gfortran.dg/enum_5.f90
index b27aaf289c0..c5617b8c1ba 100644
--- a/gcc/testsuite/gfortran.dg/enum_5.f90
+++ b/gcc/testsuite/gfortran.dg/enum_5.f90
@@ -12,4 +12,5 @@ program main
blue = 10 ! { dg-error " assign to a named constant" }
-end program main ! { dg-excess-errors "" }
+end program main ! { dg-error "Expecting END ENUM" }
+ ! { dg-error "Unexpected end of file" "" { target "*-*-*" } 0 }