2015-09-24 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gfortran.dg / block_end_error_1.f90
blobe7dcdfa966d0f14980f72673238abf643ab97a33
1 ! { dg-do compile }
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
10 ! { dg-prune-output "Unexpected end of file" }