2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / binding_label_tests_18.f90
blob548d367e3d2593b897e0731fd8e7ac3540ba7609
1 ! { dg-do compile }
3 ! PR fortran/48858
5 subroutine foo() ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." }
6 end subroutine foo
8 subroutine foo() ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." }
9 end subroutine foo