2012-08-15 20:02:54 +00:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -fobjc-default-synthesize-properties -verify -Wno-objc-root-class %s
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2011-02-20 13:06:31 +00:00
|
|
|
// rdar://8673791
|
2011-10-20 21:14:49 +00:00
|
|
|
// rdar://9943851
|
2011-02-20 13:06:31 +00:00
|
|
|
|
|
|
|
@interface I {
|
|
|
|
}
|
|
|
|
|
2011-10-20 21:14:49 +00:00
|
|
|
@property int IVAR;
|
2011-02-20 13:06:31 +00:00
|
|
|
- (int) OK;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation I
|
2011-10-20 21:14:49 +00:00
|
|
|
- (int) Meth { return _IVAR; }
|
2011-02-20 13:06:31 +00:00
|
|
|
- (int) OK { return self.IVAR; }
|
|
|
|
@end
|