llvm-project/clang/test/PCH/cxx-reference.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
262 B
C
Raw Normal View History

// Header for PCH test cxx-reference.cpp
typedef char (&LR);
typedef char (&&RR);
char c;
char &lr = c;
char &&rr = 'c';
LR &lrlr = c;
LR &&rrlr = c;
RR &lrrr = c;
RR &&rrrr = 'c';
struct S {
const int &x = 1; // LifetimeExtendedTemporary inside struct
};