gcc/testsuite/gfortran.dg/binding_label_tests_18.f90
raw| 1 | ! { dg-do compile } |
| 2 | ! |
| 3 | ! PR fortran/48858 |
| 4 | ! |
| 5 | subroutine foo() ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." } |
| 6 | end subroutine foo |
| 7 | |
| 8 | subroutine foo() ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." } |
| 9 | end subroutine foo |
| 10 |