aboutsummaryrefslogtreecommitdiff
path: root/clang/test/SemaObjC/direct-synthesized-ivar-access.m
blob: 5b7203f98a03b389814e5b817ad7f18448f4eb7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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