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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
property-dbg.m
blob
f15213131ccc00e5c7d504656d8b0342c111ea73
1
// FIXME: Check IR rather than asm, then triple is not needed.
2
// RUN: %clang_cc1 -triple %itanium_abi_triple -S -debug-info-kind=limited -x objective-c < %s | grep DW_AT_name
3
@interface Foo {
4
int i;
5
}
6
@property int i;
7
@end
8
9
@implementation Foo
10
@synthesize i;
11
@end
12
13
int bar(Foo *f) {
14
int i = 1;
15
f.i = 2;
16
i = f.i;
17
return i;
18
}