minix/external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-static-var.m
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00

17 lines
282 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: metadata !"i", metadata !"i", metadata !""
@interface A {
}
-(void) foo;
@end
@implementation A
-(void)foo {
static int i = 1;
}
@end