diff options
Diffstat (limited to 'gcc/testsuite/gfortran.dg/label_2.f90')
-rw-r--r-- | gcc/testsuite/gfortran.dg/label_2.f90 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/label_2.f90 b/gcc/testsuite/gfortran.dg/label_2.f90 new file mode 100644 index 000000000..7b87f6c24 --- /dev/null +++ b/gcc/testsuite/gfortran.dg/label_2.f90 @@ -0,0 +1,10 @@ +! { dg-do compile } +! PR fortran/24640. We needed to check that whitespace follows +! a statement label in free form. +! +program pr24640 + +10: a=10 ! { dg-error "character in statement" } + +end program + |