xref: /llvm-project/clang/test/PCH/cxx-reference.h (revision 196cc96f9a643d1cb828f48ef15ec30d0de24df7)
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 };
18