repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
direct-synthesized-ivar-access.m
blob
5b7203f98a03b389814e5b817ad7f18448f4eb7d
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