Debian Codegraph @

gcc/testsuite/gfortran.dg/dependency_57.f90

raw
1 ! { dg-do compile }
2 ! PR 92755 - this used to cause an ICE.
3 ! Original test case by Gerhard Steinmetz
4 program p
5 type t
6 end type
7 type t2
8 class(t), allocatable :: a(:)
9 end type
10 type(t2) :: z
11 z%a = [z%a]
12 end