5 ! Contributed by Juergen Reuter.
10 ! if the following line is omitted, the problem disappears
11 integer, dimension(:), allocatable :: a
14 type(container_t) :: container
16 if (container%n /= 42) call abort()
17 if (allocated(container%a)) call abort()
19 allocate(container%a(50))
21 if (container%n /= 42) call abort()
22 if (allocated(container%a)) call abort()
24 subroutine init (container)
25 type(container_t), intent(out) :: container