2 ! PR fortran/89174 - this used to segfault on execution.
3 ! Test case by Neil Carlson.
6 class(*), allocatable
:: mold
11 subroutine push(this
, value
)
12 class(array_data
), intent(inout
) :: this
13 class(*), intent(in
) :: value
14 allocate(this
%mold
, mold
=value
) ! <== SEGFAULTS HERE
19 type(array_data
) :: foo