PR rtl-optimization/82913
[official-gcc.git] / gcc / testsuite / gfortran.dg / common_18.f90
blob374eda8eee12d95bbed60b23a302c1d9769a0042
1 ! { dg-do compile }
3 ! PR fortran/48858
6 use iso_c_binding
7 contains
8 subroutine one()
9 bind(C, name="com1") :: /foo/
10 integer(c_int) :: a
11 common /foo/ a
12 end subroutine
13 subroutine two()
14 integer(c_long) :: a
15 common /foo/ a
16 end subroutine two
17 end
19 ! { dg-final { scan-assembler "com1" } }
20 ! { dg-final { scan-assembler "foo_" } }