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