1 // RUN: %clang_cc1 -fobjc-runtime=macosx-fragile-10.5 -fsyntax-only -verify %s 2 // rdar://6812436 3 4 @interface A @end 5 6 @interface A () { 7 int _p0; // expected-error {{instance variables may not be placed in class extension}} 8 } 9 @property int p0; 10 @end 11 12 @interface A(CAT) { 13 int _p1; // expected-error {{instance variables may not be placed in categories}} 14 } 15 @end 16