[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / proc_decl_27.f90
blobcb16ecfa2b0166da28bfb7a19274b167b05156b1
1 ! { dg-do compile }
3 ! PR 50659: [4.5/4.6/4.7 Regression] [F03] ICE on invalid with procedure interface
5 ! Contributed by Andrew Benson <abenson@caltech.edu>
7 module m1
8 integer :: arrSize
9 end module
11 module m2
12 contains
13 function Proc (arg)
14 use m1
15 double precision, dimension(arrSize) :: proc
16 double precision :: arg
17 end function
18 end
20 use m2
21 implicit none
22 procedure(Proc) :: Proc_Get
23 end