1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
! { dg-do compile } ! ! PR 40451: [F03] procedure pointer assignment rejected ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> contains function f() intrinsic :: sin procedure(sin), pointer :: f f => sin end function f end