Sign in
fuchsia
/
third_party
/
swift-clang
/
a40ea3abe6e2f0b338d00c38fe7d724241c5af97
/
.
/
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