c: Fix up pointer types to may_alias structures [PR114493]
[official-gcc.git] / gcc / testsuite / gfortran.dg / interface_38.f90
blobd8f42ee814f792ce26c543aa5734aa57126e8d41
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