2017-12-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gfortran.dg / binding_label_tests_28.f90
blob0066a4ac876331445ab21574bcf23ebe381a6629
1 ! { dg-do compile }
3 ! PR fortran/61450
4 ! Contributed by Francois-Xavier Coudert <fxcoudert@gmail.com>
6 module p
7 integer i1 ! { dg-error "Global binding name 'foo' at .1. is already being used at .2." }
8 bind(c,name="foo") :: i1
9 end module
11 subroutine truc() bind(c,name="foo") ! { dg-error "Global binding name 'foo' at .1. is already being used at .2." }
12 end