2 ! This program would segfault without the patch for PR fortran/24005.
5 ! If private statement is removed, then we get a bunch of errors
9 ! If we rename 'f' in module y to say 'g', then gfortran correctly
10 ! identifies ambiguous as being ambiguous.
30 module procedure f
! { dg-warning "in generic interface" "" }
42 ! { dg-final { cleanup-modules "y z" } }