3 ! PR 40593: Proc-pointer returning function as actual argument
5 ! Original test case by Tobias Burnus <burnus@gcc.gnu.org>
6 ! Modified by Janus Weil
14 integer function func()
22 call caller1(getPtr1())
23 call caller2(getPtr2())
24 call caller3(getPtr2())
33 procedure(integer) :: f
37 procedure(func
),pointer :: f
41 procedure(sub
), pointer :: getPtr1
45 procedure(func
), pointer :: getPtr2