PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gfortran.dg / binding_label_tests_17.f90
blob4243ffbdb1ea045165839bc33340f521d49485fb
1 ! { dg-do compile }
3 ! PR fortran/48858
5 subroutine foo() bind(C, name="bar") ! { dg-error "Global binding name 'bar' at .1. is already being used as a SUBROUTINE at .2." }
6 end subroutine foo
8 subroutine sub() bind(C, name="bar") ! { dg-error "Global binding name 'bar' at .1. is already being used as a SUBROUTINE at .2." }
9 end subroutine sub