[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / pr71204.f90
blob1d1ee5c34a157921689cd469f91744b226eddbf3
1 ! PR fortran/71204
2 ! { dg-do compile }
3 ! { dg-options "-O0" }
5 module pr71204
6 character(10), allocatable :: z(:)
7 end module
9 subroutine s1
10 use pr71204
11 z(2) = z(1)
12 end
14 subroutine s2
15 use pr71204
16 z(2) = z(1)
17 end