2 ! { dg-options "-fdump-tree-original" }
4 ! PR 59589: [4.9 Regression] [OOP] Memory leak when deallocating polymorphic
6 ! Contributed by Rich Townsend <townsend@astro.wisc.edu>
11 real, allocatable
:: x(:)
18 class(bar
), allocatable
:: b
21 allocate(b
%f
%x(1000000))
27 ! { dg-final { scan-tree-dump-times "__builtin_free" 4 "original" } }