diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/label_1.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/label_1.f90 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/label_1.f90 b/gcc/testsuite/gfortran.dg/label_1.f90 new file mode 100644 index 00000000000..149c79f1029 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/label_1.f90 @@ -0,0 +1,10 @@ +! { dg-do compile } +! Test the fix for PR 25106 and 25055. + +program a +0056780 continue ! { dg-error "Too many digits" } +0 continue ! { dg-error "Statement label at" } + stop 001234 ! { dg-error "Too many digits" } +end program a + + |