4 ! The following code used to be accepted because C_LOC pulls in C_PTR
7 ! Contributed by Valery Weber <valeryweber@hotmail.com>
10 use iso_c_binding
, only
: c_loc
12 type(C_PTR
) :: f_ptr
! { dg-error "being used before it is defined" }
13 f_ptr
=c_loc(i
) ! { dg-error "Can't convert" }