3 ! Tests the fix PR40011 comment 16 in which the derived type lists in
4 ! different program units were getting mixed up.
6 ! Contributed by Daniel Franck <dfranke@gcc.gnu.org>
10 TYPE(foo_node_private
), POINTER :: p
13 TYPE :: foo_node_private
14 TYPE(foo_node
), DIMENSION(-1:1) :: link
18 TYPE(foo_node
) :: root
23 USE module_foo
, ONLY
: foo
, foo_node
26 TYPE(foo_node
) :: parent
, current
30 current
= current
%p
%link(cmp
)
34 USE module_foo
, ONLY
: foo