2 ! { dg-additional-options "-cpp" }
3 ! PR 57048 - this used not to compile. Original test case by Angelo
4 ! Graziosi. Only works if compiled c_funptr_1_mod.f90, hence the
5 ! do-nothing directive above.
22 use, intrinsic :: iso_c_binding
, only
: C_INT
,c_sizeof
,c_funloc
29 type(WNDCLASSEX_T
) :: WndClass
31 WndClass
%cbSize
= int(c_sizeof(Wndclass
),C_INT
)
32 WndClass
%lpfnWndProc
= c_funloc(WndProc
)