1 !RUN: %flang_fc1 -fsyntax-only -J%S/Inputs %s
4 !modfile67.mod was produced from this source, and must be read into this
5 !compilation from its module file in order to truly test this fix.
8 procedure(foo
), nopass
, pointer :: p
11 pure
function foo(n
,a
) result(r
)
12 integer, intent(in
) :: n
13 real, intent(in
), dimension(n
) :: a
14 logical, dimension(size(a
)) :: r
17 type(t
) function fooptr(f
)
27 x
= fooptr(bar
) ! ensure no bogus error about procedure incompatibility
29 pure
function bar(n
,a
) result(r
)
30 integer, intent(in
) :: n
31 real, intent(in
), dimension(n
) :: a
32 logical, dimension(size(a
)) :: r