2 ! { dg-options "-std=f2003" }
6 subroutine foo() bind(C
,name
="bar") ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." }
9 subroutine foo() bind(C
,name
="sub") ! { dg-error "Global name 'foo' at .1. is already being used as a SUBROUTINE at .2." }