Debian Codegraph @

clang/test/CodeGenObjC/property-dbg.m

raw
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 }