2009-05-14 07:08:57 +08:00
|
|
|
// RUN: clang-cc -triple i386-apple-darwin9 -g -emit-llvm -o %t %s &&
|
2009-05-14 09:45:24 +08:00
|
|
|
// RUN: grep '@.str3 = internal constant \[8 x i8\] c"-\[A m0\]\\00"' %t &&
|
2009-07-15 05:31:22 +08:00
|
|
|
// RUN: grep '@.str4 = internal constant \[9 x i8\] c"\\01-\[A m0\]\\00"' %t &&
|
|
|
|
// RUN: grep '@llvm.dbg.subprogram = .* @.str3, .* @.str3, .* @.str4,' %t &&
|
2009-05-19 04:51:58 +08:00
|
|
|
// RUN: grep '@llvm.dbg.composite.* = .* i32 15, i64 0, i64 8, .* i32 16' %t &&
|
2009-05-14 09:45:24 +08:00
|
|
|
// RUN: true
|
2009-05-14 07:08:57 +08:00
|
|
|
|
2009-05-19 04:51:58 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-14 07:08:57 +08:00
|
|
|
@interface A @end
|
2009-05-19 04:51:58 +08:00
|
|
|
@implementation A // Line 15
|
2009-05-14 07:08:57 +08:00
|
|
|
-(void) m0 {}
|
|
|
|
@end
|
2009-07-14 09:20:56 +08:00
|
|
|
|
|
|
|
@interface I1 {
|
|
|
|
I1 *iv0;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
void f0(void) {
|
|
|
|
I1 *x;
|
|
|
|
}
|