blob: 30ff4def30dad6fdb92f68dab62cf8e2b1883ec7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
! { dg-do compile }
!
! PR 50659: [4.5/4.6/4.7 Regression] [F03] ICE on invalid with procedure interface
!
! Contributed by Andrew Benson <abenson@caltech.edu>
module m1
integer :: arrSize
end module
module m2
contains
function Proc (arg)
use m1
double precision, dimension(arrSize) :: proc
double precision :: arg
end function
end
use m2
implicit none
procedure(Proc) :: Proc_Get
end
! { dg-final { cleanup-modules "m1 m2" } }
|