Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
6856c631cb15ec87cc92aad115a8fa6512612089
/
.
/
test
/
Sema
/
cxx-references.cpp
blob: 74ad3103953ef7df4c5c7b02c2d94a59d54c916a [
file
] [
log
] [
blame
]
// RUN: clang -fsyntax-only %s
int
g
(
int
);
#if 0
void
f
()
{
int
i
;
int
&
r
=
i
;
r
=
1
;
int
*
p
=
&
r
;
int
&
rr
=
r
;
int
(&
rg
)(
int
)
=
g
;
rg
(
i
);
int
a
[
3
];
int
(&
ra
)[
3
]
=
a
;
ra
[
1
]
=
i
;
int
*
Q
;
int
*&
P
=
Q
;
P
[
1
]
=
1
;
}
#endif