summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/label_1.f90
blob: 94f3b5e61adebccf361c42567eb9e1581eb7f57c (plain)
1
2
3
4
5
6
7
8
9
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 "Zero is not a valid statement label" }
  stop 001234       ! { dg-error "Too many digits" }
end program a