2 ! This test case simply checks that c_funloc exists, accepts arguments of
3 ! flavor FL_PROCEDURE, and returns the type c_funptr
5 use, intrinsic :: iso_c_binding, only: c_funptr, c_funloc
8 recursive subroutine sub0() bind(c)
9 type(c_funptr) :: my_c_funptr
11 my_c_funptr = c_funloc(sub0)
13 end module c_funloc_tests