14 use test_mod ! { dg-error "is also the name of the current program unit" }
24 subroutine my_sub2 (a)
25 use test_mod2 ! { dg-error "is also the name of the current program unit" }
31 subroutine my_sub3 (a)
32 use test_mod2, my_sub3 => my_sub2 ! { dg-error "is also the name of the current program unit" }
39 ! { dg-final { cleanup-modules "test_mod test_mod2" } }