2 ! One of the tests of the patch for PR30068.
3 ! Taken from comp.lang.fortran 3rd December 2006.
5 ! Although the generic procedure is not referenced and it would
6 ! normally be permissible for it to be ambiguous, the USE, ONLY
7 ! statement is effectively a reference and is invalid.
26 use mod1
, only
: generic
! { dg-warning "has ambiguous interfaces" }
30 ! { dg-final { cleanup-modules "mod1 mod2" } }