2 ! { dg-additional-sources iso_c_binding_rename_2_driver.c }
4 use, intrinsic :: iso_c_binding, only: c_ptr, c_associated
8 use mod0, my_c_ptr => c_ptr, my_c_associated => c_associated
13 subroutine sub2(my_ptr1) bind(c)
14 use mod1, my_c_ptr_2 => my_c_ptr, my_c_associated_2 => my_c_associated
16 type(my_c_ptr_2) :: my_ptr1
17 if( .not. my_c_associated_2(my_ptr1)) then
22 subroutine sub3(my_ptr1) bind(c)
23 use mod1, my_c_ptr_2 => my_c_ptr
25 type(my_c_ptr_2) :: my_ptr1
26 if( .not. my_c_associated(my_ptr1)) then
31 subroutine sub4(my_ptr1) bind(c)
32 use mod1, my_c_associated_3 => my_c_associated
34 type(my_c_ptr) :: my_ptr1
35 if( .not. my_c_associated_3(my_ptr1)) then