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
/
nrvo-noreturn.cpp
blob
a8259cab5f306d510fce7ed8fe22d275b1bd6b57
1
// RUN: %clang_cc1 -emit-llvm-only %s
2
// PR9178
3
4
void
abort
()
__attribute__
((
__noreturn__
));
5
struct
CoinModelLink
{
6
CoinModelLink
();
7
~
CoinModelLink
();
8
};
9
class
CoinModel
{
10
CoinModelLink
firstInQuadraticColumn
();
11
};
12
CoinModelLink
CoinModel
::
firstInQuadraticColumn
() {
13
abort
();
14
CoinModelLink x
;
15
return
x
;
16
}
17