1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | @interface A { |
3 | int &r; // expected-error {{instance variables cannot be of reference type}} |
4 | } |
5 | @end |
6 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | @interface A { |
3 | int &r; // expected-error {{instance variables cannot be of reference type}} |
4 | } |
5 | @end |
6 |