repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
destructor-crash.cpp
blob
43291986514d94235e028d5ee8904048afcbd773
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
{}