3 use, intrinsic :: iso_c_binding
5 integer, parameter :: myF = c_float
6 real(myF), bind(c) :: myCFloat
7 integer(myF), bind(c) :: myCInt ! { dg-warning "is for type REAL" }
8 integer(c_double), bind(c) :: myCInt2 ! { dg-warning "is for type REAL" }
10 integer, parameter :: myI = c_int
11 real(myI) :: myReal ! { dg-warning "is for type INTEGER" }
12 real(myI), bind(c) :: myCFloat2 ! { dg-warning "is for type INTEGER" }
13 real(4), bind(c) :: myFloat ! { dg-warning "may not be a C interoperable" }
14 end module c_kind_tests_2
15 ! { dg-final { cleanup-modules "c_kind_tests_2" } }