2017-02-20 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gfortran.dg / binding_label_tests_22.f90
blobb136754d5931d931468b75450ae46ae66306157d
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 entry foo() ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." }
7 end subroutine foo