libgfortran/ChangeLog:
[official-gcc.git] / gcc / testsuite / gfortran.dg / coarray_31.f90
blobbab8b0aecf7e1044ed9e32414de8477a1070ed1d
1 ! { dg-do compile }
2 ! { dg-options "-fdump-tree-original -fcoarray=single" }
4 ! PR fortran/57906
5 ! PR fortran/52052
7 type t
8 integer, allocatable :: x(:)[:]
9 class(*), allocatable :: z(:)[:]
10 class(*), allocatable :: d[:]
11 end type t
12 type t2
13 type(t) :: y
14 end type t2
15 type(t2) :: a, b
16 a = b
17 end
19 ! { dg-final { scan-tree-dump "a.y.x.data = D.\[0-9\]+.y.x.data;" "original" } }
20 ! { dg-final { scan-tree-dump "a.y.z._data.data = D.\[0-9\]+.y.z._data.data;" "original" } }
21 ! { dg-final { scan-tree-dump "a.y.d._data.data = D.\[0-9\]+.y.d._data.data;" "original" } }
22 ! { dg-final { cleanup-tree-dump "original" } }