xref: /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/direct-synthesized-ivar-access.m (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2// expected-no-diagnostics
3// rdar://8673791
4// rdar://9943851
5
6@interface I {
7}
8
9@property int IVAR;
10- (int) OK;
11@end
12
13@implementation I
14- (int) Meth { return _IVAR; }
15- (int) OK { return self.IVAR; }
16@end
17