4 ! Depending, in which order the symbol tree
5 ! was walked in resolve, gfortran resolved
6 ! p6 before p4; thus there was no explicit
7 ! interface available for p4 and an error
8 ! was printed. (This is a variant of proc_decl_2.f90)
10 ! Additionally, the following contrain was not honoured:
11 ! "C1212 (R1215) [...] If name is declared by a procedure-declaration-stmt
12 ! it shall be previously declared." ("name" = interface-name)
32 procedure(p4
) :: p6
! { dg-error "declared in a later PROCEDURE statement" }