diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/enum_5.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/enum_5.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gfortran.dg/enum_5.f90 b/gcc/testsuite/gfortran.dg/enum_5.f90 index c5617b8c1ba..81a1dd5dfa4 100644 --- a/gcc/testsuite/gfortran.dg/enum_5.f90 +++ b/gcc/testsuite/gfortran.dg/enum_5.f90 @@ -10,7 +10,7 @@ program main enumerator :: blue = 1 end enum junk ! { dg-error "Syntax error" } - blue = 10 ! { dg-error " assign to a named constant" } + blue = 10 ! { dg-error "Unexpected assignment" } end program main ! { dg-error "Expecting END ENUM" } ! { dg-error "Unexpected end of file" "" { target "*-*-*" } 0 } |