Sign in
fuchsia
/
third_party
/
swift-clang
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2017-02-06-a
/
.
/
test
/
CodeGenCXX
/
destructor-crash.cpp
blob: 43291986514d94235e028d5ee8904048afcbd773 [
file
] [
log
] [
blame
]
// 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
{}