Debian Codegraph @

clang/test/SemaObjC/direct-synthesized-ivar-access.m

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
3
4 @interface I {
5 }
6
7 @property int IVAR;
8 - (int) OK;
9 @end
10
11 @implementation I
12 - (int) Meth { return _IVAR; }
13 - (int) OK { return self.IVAR; }
14 @end