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
/
CodeGen
/
mips64-nontrivial-return.cpp
blob
0987dcaf355dd27863d9fcee369c0074ad500c16
1
// RUN: %clang_cc1 -triple mips64el-unknown-linux -O3 -target-abi n64 -o - -emit-llvm %s | FileCheck %s
2
3
class
B
{
4
public
:
5
virtual
~
B
() {}
6
};
7
8
class
D
:
public
B
{
9
};
10
11
extern
D gd0
;
12
13
// CHECK: _Z4foo1v(ptr noalias nocapture writeonly sret
14
15
D
foo1
(
void
) {
16
return
gd0
;
17
}