1 2 3 4 5 6 7 8 9 10 11 12 13
! { dg-do compile } ! PR fortran/18870 ! program main common /foo/ a common /bar/ b equivalence (a,c) equivalence (b,c) ! { dg-error "indirectly overlap COMMON" } c=3. print *,a print *,b end