Debian Codegraph @

gcc/testsuite/gfortran.dg/proc_decl_4.f90

raw
1 ! { dg-do compile }
2 ! { dg-options "-std=f95" }
3 ! Test for PROCEDURE statements with the -std=f95 flag.
4 ! Contributed by Janus Weil <[email protected]>
5
6 program p
7
8 procedure():: proc ! { dg-error "Fortran 2003: PROCEDURE statement" }
9
10 end program