1// REQUIRES: x86-64-registered-target 2// RUN: %clang_cc1 -g -triple x86_64-apple-darwin10 -fobjc-fragile-abi -S -masm-verbose -o - %s | FileCheck %s 3// Radar 8801045 4// Do not emit AT_MIPS_linkage_name for static variable i 5 6// CHECK: Lset6 = Lstring3-Lsection_str ## DW_AT_name 7// CHECK-NEXT: .long Lset6 8// CHECK-NEXT: DW_AT_type 9// CHECK-NEXT: DW_AT_decl_file 10// CHECK-NEXT: DW_AT_decl_line 11// CHECK-NEXT: DW_AT_location 12 13@interface A { 14} 15-(void) foo; 16@end 17 18@implementation A 19-(void)foo { 20 static int i = 1; 21} 22@end 23 24