Debian Codegraph @

gcc/testsuite/gfortran.dg/interface_38.f90

raw
1 ! { dg-do compile }
2 ! PR69397
3 program p
4 interface f
5 procedure f1 ! { dg-error "neither function nor subroutine" }
6 !... more
7 end interface
8 integer, allocatable :: z
9 print *, f(z) ! { dg-error "no specific function" }
10 contains
11 integer function f2 (x)
12 integer, allocatable :: x
13 f2 = 1
14 end
15 end
16