blob: 49cff97ccbd104c991e9e53c2440604c34800795 [file] [log] [blame]
Fariborz Jahanian69d56242010-07-22 23:33:21 +00001// RUN: %clang_cc1 -fobjc-nonfragile-abi -verify -fsyntax-only %s
2// rdar : // 8225011
3
4int glob;
5
6@interface I
7@property int glob; // expected-note {{property declared here}}
8@end
9
10@implementation I
11- (int) Meth { return glob; } // expected-warning {{'glob' lookup will access the property ivar in nonfragile-abi2 mode}}
12@synthesize glob;
13@end