hppa64: Fix fmt_f_default_field_width_3.f90 and fmt_g_default_field_width_3.f90
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr65453.f90
blob9f40121b4432194daf8e9f523419bafcd0ae81ab
1 ! { dg-do compile }
2 ! PR fortran/65453
3 ! Contributed by Tobias Burnus <burnus at gcc.gnu.org>
4 procedure() :: foo ! { dg-error "(1)" }
5 contains
6 subroutine foo() ! { dg-error "clashes with procedure" }
7 end
8 end ! { dg-error "Two main PROGRAMs" }