2011-10-02 09:16:38 +08:00
|
|
|
// RUN: %clang_cc1 -Wnonfragile-abi2 -fsyntax-only -fobjc-default-synthesize-properties -verify %s
|
2010-11-18 03:41:23 +08:00
|
|
|
// rdar://8673791
|
2011-09-01 06:24:06 +08:00
|
|
|
// rdar://9943851
|
2010-11-18 03:41:23 +08:00
|
|
|
|
|
|
|
@interface I {
|
|
|
|
}
|
|
|
|
|
2011-09-01 06:24:06 +08:00
|
|
|
@property int IVAR;
|
2010-11-18 03:41:23 +08:00
|
|
|
- (int) OK;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation I
|
2011-09-28 07:39:40 +08:00
|
|
|
- (int) Meth { return _IVAR; }
|
2010-11-18 03:41:23 +08:00
|
|
|
- (int) OK { return self.IVAR; }
|
|
|
|
@end
|