blob: 4bbe89bba72efe11ad849af64412ed2a1c718f1f [file] [log] [blame]
! { dg-do compile }
!
! PR fortran/62536
! Bad "end block" causes ICE.
subroutine s
block
end block named ! { dg-error "Syntax error in END BLOCK statement" }
return
endsubroutine ! { dg-error "Expecting END BLOCK statement" }
! { dg-prune-output "Unexpected end of file" }