[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gfortran.dg / common_21.f90
blob73a1b58a1ab525c89a4977c70db6adc728ebf4c4
1 ! { dg-do compile }
2 ! { dg-options "-std=f2008" }
4 ! PR fortran/48858
6 subroutine test
7 integer :: l, m
8 common /g/ l
9 common /jj/ m
10 bind(C,name="bar") :: /g/
11 bind(C,name="foo") :: /jj/
12 end
14 subroutine g
15 call jj()
16 end