OSDN Git Service

* trans.h (gfc_conv_cray_pointee): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gfortran.dg / cray_pointers_4.f90
1 ! { dg-do compile }
2 ! { dg-options "-fcray-pointer" }
3
4 subroutine err1
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" }
14 end subroutine err1