2 ! This tests the fix for the regression caused by the internal references
3 ! patc, which is tested by internal_references_1.f90. Reported as PR25901.
5 ! Based on test cases provided by Toon Moene <toon@moene.indiv.nluug.nl>
6 ! and by Martin Reinecke <martin@mpa-garching.mpg.de>
9 module procedure sub
,sub1
15 call sub(a
) ! For the original test, this "defined" the procedure.
17 subroutine sub(a
) ! Would give an error on "already defined" here
22 ! { dg-final { cleanup-modules "aap" } }