2 ! Check fix for PR24783 where we did try to resolve the implicit type
3 ! from the wrong namespace thus rejecting valid code.
7 SUBROUTINE sub(vec, ny)
8 IMPLICIT REAL (a-h,o-z)
14 REAL FUNCTION fun(r1, i1, i2)
29 if (fun(di(i),1,2).NE.5) call abort()
31 if (i.NE.4) call abort()
33 ! { dg-final { cleanup-modules "mod1" } }