2 ! { dg-options "-fcoarray=single -fdump-tree-original" }
4 ! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
5 ! Test fix for pr65795.
10 integer, allocatable :: x
14 type(t2), allocatable :: caf[:]
17 !type(t3), save, target :: c, d
18 type(t3), target :: c, d
21 allocate(c%caf[*], stat=stat)
24 ! Besides checking that the executable does not crash anymore, check
25 ! that the cause has been remove.
26 ! { dg-final { scan-tree-dump-not "c.caf.x = 0B" "original" } }