blob: 0d3be8845f92c8185100b1b6a322b0e3fc0b9676 [file] [log] [blame]
! { dg-do run }
!
! PR 42647: Missed initialization/dealloc of allocatable scalar DT with allocatable component
!
! Contributed by Tobias Burnus <burnus@gcc.gnu.org>
type t
integer, allocatable :: p
end type t
type(t), allocatable :: a
deallocate(a,stat=istat)
if (istat == 0) call abort()
end