aboutsummaryrefslogblamecommitdiff
path: root/test/CodeGenObjC/debug-info-static-var.m
blob: 2c10d597797f36c8df2708f8dde6d5aebfc0607d (plain) (tree)
1
2
3
4
5
                                                       


                                                         
                                                    











                   
// 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