PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / unexpected_eof_4.f90
blob2832128e6d6850661dbf5ca5dbba2fc8cd03fcc7
1 ! { dg-do compile }
2 ! { dg-options "-Wampersand" }
3 ! PR77972
4 program p
5 character(8) :: z
6 z = 'abc&
7 ! { dg-error "Unterminated character constant" "" { target *-*-* } 0 }
8 ! { dg-error "Unexpected end of file" "" { target *-*-* } 0 }