Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
test
/
SemaObjCXX
/
ivar-reference-type.mm
blob: 2b5df453e0e4b6dbe1171c1e37f3758e08fd4281 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
@interface
A
{
int
&
r
;
// expected-error {{instance variables cannot be of reference type}}
}
@end