Debian Codegraph @

gcc/testsuite/gfortran.dg/pr65453.f90

raw
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" }