Debian Codegraph @

gcc/testsuite/gfortran.dg/c_funptr_1_mod.f90

raw
1 ! { dg-do run }
2 ! { dg-additional-sources c_funptr_1.f90 }
3 ! Additional module to go with c_funptr_1.f90
4 module win32_types
5 use, intrinsic :: iso_c_binding, only: C_INT,C_FUNPTR
6 implicit none
7 private
8
9 public WNDCLASSEX_T
10 type, bind(C) :: WNDCLASSEX_T
11 integer(C_INT) :: cbSize
12 type(C_FUNPTR) :: lpfnWndProc
13
14 end type WNDCLASSEX_T
15
16 end module win32_types