3 ! Test the fix for PR92123, in which 'dat' caused an error with the message
4 ! "Scalar variable 'dat' at ?? with POINTER or ALLOCATABLE in procedure Fsub
5 ! with BIND(C) is not yet supported."
7 ! Contributed by Vipul Parekh <parekhvs@gmail.com>
10 use, intrinsic :: iso_c_binding
, only
: c_int
12 subroutine Fsub( dat
) bind(C
, name
="Fsub")
14 integer(c_int
), allocatable
, intent(out
) :: dat
20 use, intrinsic :: iso_c_binding
, only
: c_int
22 integer(c_int
), allocatable
:: x