Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / destructor-crash.cpp
blob43291986514d94235e028d5ee8904048afcbd773
1 // RUN: %clang_cc1 %s -emit-llvm -std=c++11 -o %t
3 struct A {
4 ~A();
5 };
7 struct B {
8 A a;
9 };
11 struct C {
12 union {
13 B b;
16 ~C() noexcept;
19 C::~C() noexcept {}