2 ! This file must be compiled AFTER binding_label_tests_13.f03, which it
3 ! should be because dejagnu will sort the files. The module file
4 ! binding_label_tests_13.mod can not be removed until after this test is done.
5 module binding_label_tests_13_main
6 use, intrinsic :: iso_c_binding, only: c_int
7 integer(c_int) :: c3 ! { dg-error "collides" }
11 subroutine c_sub() BIND(c, name = "C_Sub")
12 use binding_label_tests_13 ! { dg-error "collides" }
14 end module binding_label_tests_13_main
15 ! { dg-final { cleanup-modules "binding_label_tests_13 binding_label_tests_13_main" } }