re PR fortran/78741 (ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1534)
[official-gcc.git] / gcc / testsuite / gfortran.dg / unexpected_eof.f
blobd3cdb99596ab6476f383eb23ec3d16881a871bb9
1 ! { dg-do compile }
2 ! PR66461 ICE on missing end program in fixed source
3 program p
4 integer x(2)
5 x = -1
6 if ( x(1) < 0 .or.
7 & x(2) < 0 ) print *, x
8 ! { dg-error "Unexpected end of file" "" { target *-*-* } 0 }