| 1 |
! { dg-do compile } |
| 2 |
! |
| 3 |
! PR fortran/62536 |
| 4 |
! Bad "end block" causes ICE. |
| 5 |
subroutine s |
| 6 |
block |
| 7 |
end block named ! { dg-error "Syntax error in END BLOCK statement" } |
| 8 |
return |
| 9 |
endsubroutine ! { dg-error "Expecting END BLOCK statement" } |
| 10 |
! { dg-prune-output "Unexpected end of file" } |