| 1 |
! { dg-do compile } |
| 2 |
! Make sure this error is flagged. |
| 3 |
subroutine foo() ! { dg-error "is already being used as a SUBROUTINE" } |
| 4 |
end subroutine foo |
| 5 |
|
| 6 |
subroutine bar() bind(C,name="foo") ! { dg-error "is already being used as a SUBROUTINE" } |
| 7 |
end subroutine bar |