PR ipa/83051
[official-gcc.git] / gcc / testsuite / gfortran.dg / der_pointer_1.f90
blobbf4ffc320f61b6d95533ec49c3b762fb6c93bc37
1 ! { dg-do compile }
2 ! PR13010
3 ! Arrays of self-referential pointers
4 module test
5 type list_t
6 type(list_t), pointer :: next
7 end type list_t
9 type listptr_t
10 type(list_t), pointer :: this
11 end type listptr_t
13 type x_t
14 type(listptr_t), pointer :: arr(:)
15 end type x_t
17 type(x_t), pointer :: x
18 end module test