YouCompleteMe/cpp/llvm/tools/clang/test/CodeGenObjC/debug-property-synth.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

21 lines
294 B
Objective-C

// RUN: %clang_cc1 -masm-verbose -S -g %s -o - | FileCheck %s
// Radar 9468526
@interface I {
int _p1;
}
@property int p1;
@end
@implementation I
@synthesize p1 = _p1;
@end
int main() {
I *myi;
myi.p1 = 2;
return 0;
}
// FIXME: Make this test ir files.
// CHECK: .loc 2 6 0