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
/
merge-all-constants-references.cpp
blob
76c6f292ef4219926664edc35ad6bb58db62296d
1
// RUN: %clang_cc1 -triple x86_64-linux-gnu -emit-llvm -fmerge-all-constants %s -o /dev/null
2
3
struct
A
{
4
};
5
6
struct
B
{
7
const struct
A
&
a
= {};
8
};
9
10
void
Test
(
const struct
B
&);
11
12
void
Run
() {
13
Test
({});
14
}