3 ! Tests the fix for PR56047. This is actually a development of
4 ! the test case of comment #10.
6 ! Reported by Juergen Reuter <juergen.reuter@desy.de>
9 type :: process_variant_def_t
12 type :: process_component_def_t
13 class(process_variant_def_t
), allocatable
:: variant_def
15 type(process_component_def_t
), dimension(1:2) :: initial
16 allocate (initial(1)%variant_def
, source
= process_variant_def_t (99))
17 associate (template
=> initial(1)%variant_def
)
20 if (initial(1)%variant_def
%i
.ne
. 77) call abort