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