2014-01-30 09:01:36 +08:00
|
|
|
// FIXME: Check IR rather than asm, then triple is not needed.
|
2015-10-08 12:24:12 +08:00
|
|
|
// RUN: %clang_cc1 -triple %itanium_abi_triple -S -debug-info-kind=limited -masm-verbose -x objective-c < %s | grep DW_AT_name
|
2010-04-06 05:09:15 +08:00
|
|
|
@interface Foo {
|
|
|
|
int i;
|
|
|
|
}
|
|
|
|
@property int i;
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation Foo
|
|
|
|
@synthesize i;
|
|
|
|
@end
|
|
|
|
|
|
|
|
int bar(Foo *f) {
|
|
|
|
int i = 1;
|
|
|
|
f.i = 2;
|
|
|
|
i = f.i;
|
|
|
|
return i;
|
|
|
|
}
|