bolt/deps/llvm-18.1.8/clang/test/SemaObjC/direct-synthesized-ivar-access.m
2025-02-14 19:21:04 +01:00

14 lines
237 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// expected-no-diagnostics
@interface I {
}
@property int IVAR;
- (int) OK;
@end
@implementation I
- (int) Meth { return _IVAR; }
- (int) OK { return self.IVAR; }
@end