You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
173 B
20 lines
173 B
4 months ago
|
// RUN: %clang_cc1 %s -emit-llvm -std=c++11 -o %t
|
||
|
|
||
|
struct A {
|
||
|
~A();
|
||
|
};
|
||
|
|
||
|
struct B {
|
||
|
A a;
|
||
|
};
|
||
|
|
||
|
struct C {
|
||
|
union {
|
||
|
B b;
|
||
|
};
|
||
|
|
||
|
~C() noexcept;
|
||
|
};
|
||
|
|
||
|
C::~C() noexcept {}
|