Home | History | Annotate | Download | only in CodeGenCXX
      1 // RUN: %clang_cc1 %s -emit-llvm -std=c++11 -o %t
      2 
      3 struct A {
      4   ~A();
      5 };
      6 
      7 struct B {
      8   A a;
      9 };
     10 
     11 struct C {
     12   union {
     13     B b;
     14   };
     15 
     16   ~C() noexcept;
     17 };
     18 
     19 C::~C() noexcept {}
     20