llvm-project
18 строк · 335.0 Байт
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 {
4int i;
5}
6@property int i;
7@end
8
9@implementation Foo
10@synthesize i;
11@end
12
13int bar(Foo *f) {
14int i = 1;
15f.i = 2;
16i = f.i;
17return i;
18}
19