2015-07-23 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / invalid_contains_1.f90
blobdf4bb3fef2d64c68d74eb61c7bc57c48f968de6c
1 ! { dg-do compile }
2 ! PR18923 segfault after subroutine name confusion.
3 module FOO
4 contains
5 subroutine FOO ! { dg-error "conflicts with PROCEDURE" }
6 character(len=selected_int_kind(0)) :: C ! { dg-error "data declaration statement" }
7 end subroutine ! { dg-error "Expecting END MODULE statement" }
8 end