kazutakahirata wrote: > This looks fine in isolation, but I wonder if we do have a test that makes sure that non-trivial destructors get run? Let me come up with some tests. Thanks! https://github.com/llvm/llvm-project/pull/106934