Debian Codegraph @

gcc/testsuite/gfortran.dg/proc_decl_27.f90

raw
1 ! { dg-do compile }
2 !
3 ! PR 50659: [4.5/4.6/4.7 Regression] [F03] ICE on invalid with procedure interface
4 !
5 ! Contributed by Andrew Benson <[email protected]>
6
7 module m1
8 integer :: arrSize
9 end module
10
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
19
20 use m2
21 implicit none
22 procedure(Proc) :: Proc_Get
23 end