2 ! { dg-compile-aux-modules "binding_label_tests_10.f03" }
3 module binding_label_tests_10_main
6 integer(c_int), bind(c,name="c_one") :: one ! { dg-error "Variable one from module binding_label_tests_10 with binding label c_one at .1. uses the same global identifier as entity at .2. from module binding_label_tests_10_main" }
7 end module binding_label_tests_10_main
10 use binding_label_tests_10 ! { dg-error "Variable one from module binding_label_tests_10 with binding label c_one at .1. uses the same global identifier as entity at .2. from module binding_label_tests_10_main" }
11 use binding_label_tests_10_main
13 ! { dg-final { cleanup-modules "binding_label_tests_10" } }