2 ! This tests that the fix for PR25391 also fixes PR20244. If
3 ! the USE mod1 in subroutine foo were deleted, the code would
4 ! compile fine. With the USE statement, the compiler would
5 ! make new TYPEs for T1 and T2 and bomb out in fold-convert.
6 ! This is a slightly more elaborate test than
7 ! used_dummy_types_1.f90 and came from the PR.
9 ! Contributed by Jakub Jelinek <jakubcc.gnu.org>
15 type(t1), pointer :: f2(:)
16 real, pointer :: f3(:,:)
22 type(t1), pointer, save :: v(:)
34 ! { dg-final { cleanup-modules "mod1 mod2" } }