1 // REQUIRES: x86-registered-target
2 // RUN: %clang -target i386-apple-darwin10 -flto -S -g %s -o - | FileCheck %s
4 // CHECK: @main.localstatic = internal global i32 0, align 4, !dbg [[L:![0-9]+]]
5 // CHECK: @global ={{.*}} global i32 0, align 4, !dbg [[G:![0-9]+]]
9 static int localstatic
;
13 // CHECK: [[L]] = !DIGlobalVariableExpression(var: [[LV:.*]], expr: !DIExpression())
14 // CHECK: [[LV]] = distinct !DIGlobalVariable(name: "localstatic"
15 // CHECK-NOT: linkageName:
16 // CHECK-SAME: line: 9,
17 // CHECK: [[G]] = !DIGlobalVariableExpression(var: [[GV:.*]], expr: !DIExpression())
18 // CHECK: [[GV]] = distinct !DIGlobalVariable(name: "global"
19 // CHECK-NOT: linkageName:
20 // CHECK-SAME: line: 7,