☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
PCH
/
cxx-reference.h
☽
☼
clang/test/PCH/cxx-reference.h
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// Header for PCH test cxx-reference.cpp
2
3
typedef char (&LR);
4
typedef char (&&RR);
5
6
char c;
7
8
char &lr = c;
9
char &&rr = 'c';
10
LR &lrlr = c;
11
LR &&rrlr = c;
12
RR &lrrr = c;
13
RR &&rrrr = 'c';
14
15
struct S {
16
const int &x = 1; // LifetimeExtendedTemporary inside struct
17
};