1 PROGRAM fortran_2003_test
3 USE , INTRINSIC :: ISO_C_BINDING
7 INTEGER , PARAMETER :: STR_LEN = 10
9 type, bind(c) :: r_info
10 integer(c_int64_t) :: offset
11 integer(c_int64_t) :: data_offset
12 integer(c_int32_t) :: data_count
13 integer(c_int32_t) :: data_type
14 character(kind=c_char), dimension(STR_LEN) :: name
15 character(kind=c_char), dimension(STR_LEN) :: date
24 END PROGRAM fortran_2003_test