1 // RUN: %clang_cc1 -Wnonfragile-abi2 -fsyntax-only -fobjc-nonfragile-abi -fobjc-default-synthesize-properties -verify %s 2 // rdar://8673791 3 4 @interface I { 5 } 6 7 @property int IVAR; // expected-note {{property declared here}} 8 - (int) OK; 9 @end 10 11 @implementation I 12 - (int) Meth { return IVAR; } // expected-warning {{direct access of synthesized ivar by using property access 'IVAR'}} 13 - (int) OK { return self.IVAR; } 14 @end 15