gcc/testsuite/gfortran.dg/binding_label_tests_21.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! |
| 3 | ! PR fortran/48858 |
| 4 | ! |
| 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 | entry sub() bind(C, name="bar") ! { dg-error "Global binding name 'bar' at .1. is already being used as a SUBROUTINE at .2." } |
| 7 | end subroutine foo |
| 8 |