1f4a2713aSLionel Sambuc // REQUIRES: x86-registered-target
2f4a2713aSLionel Sambuc // RUN: %clang -target i386-apple-darwin10 -flto -S -g %s -o - | FileCheck %s
3f4a2713aSLionel Sambuc int global;
main()4f4a2713aSLionel Sambuc int main() {
5f4a2713aSLionel Sambuc static int localstatic;
6f4a2713aSLionel Sambuc return 0;
7f4a2713aSLionel Sambuc }
8f4a2713aSLionel Sambuc
9*0a6a1f1dSLionel Sambuc // CHECK: !"0x34\00localstatic\00localstatic\00\005\001\001", !{{.*}}, !{{.*}}, !{{.*}}, i32* @main.localstatic, null} ; [ DW_TAG_variable ]
10*0a6a1f1dSLionel Sambuc // CHECK: !"0x34\00global\00global\00\003\000\001", null, !{{.*}}, !{{.*}}, i32* @global, null} ; [ DW_TAG_variable ]
11