2 ! { dg-options "-fcray-pointer" }
5 integer :: in_common1
, in_common2
, v
, w
, equiv1
, equiv2
6 common /in_common1
/ in_common1
7 pointer (ipt1
, in_common1
) ! { dg-error "conflicts with COMMON" }
8 pointer (ipt2
, in_common2
)
9 common /in_common2
/ in_common2
! { dg-error "conflicts with COMMON" }
10 equivalence (v
, equiv1
)
11 pointer (ipt3
, equiv1
) ! { dg-error "conflicts with EQUIVALENCE" }
12 pointer (ipt4
, equiv2
)
13 equivalence (w
, equiv2
) ! { dg-error "conflicts with EQUIVALENCE" }