Files
clang-p2996/clang/test/CodeGenObjC/debug-info-static-var.m
Duncan P. N. Exon Smith f04be1fb3a DebugInfo: Move new hierarchy into place (clang)
Update testcases for LLVM change in r231082 to use the new debug info
hierarchy.

llvm-svn: 231083
2015-03-03 17:25:55 +00:00

20 lines
343 B
Objective-C

// RUN: %clang_cc1 -g -emit-llvm -o - %s | FileCheck %s
// Radar 8801045
// Do not emit AT_MIPS_linkage_name for static variable i
// CHECK: !MDGlobalVariable(name: "i"
// CHECK-NOT: linkageName:
// CHECK-SAME: ){{$}}
@interface A {
}
-(void) foo;
@end
@implementation A
-(void)foo {
static int i = 1;
}
@end