YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenObjC/property-dbg.m
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

18 lines
236 B
Objective-C

// RUN: %clang_cc1 -S -g -masm-verbose -x objective-c < %s | grep DW_AT_name
@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;
}