]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2009-10-20-GlobalDebug.c
Vendor import of clang RELEASE_360/rc1 tag r226102 (effectively, 3.6.0 RC1):
[FreeBSD/FreeBSD.git] / test / CodeGen / 2009-10-20-GlobalDebug.c
1 // REQUIRES: x86-registered-target
2 // RUN: %clang -target i386-apple-darwin10 -flto -S -g %s -o - | FileCheck %s
3 int global;
4 int main() { 
5   static int localstatic;
6   return 0;
7 }
8
9 // CHECK:  !"0x34\00localstatic\00localstatic\00\005\001\001", !{{.*}}, !{{.*}}, !{{.*}}, i32* @main.localstatic, null} ; [ DW_TAG_variable ]
10 // CHECK:  !"0x34\00global\00global\00\003\000\001", null, !{{.*}}, !{{.*}}, i32* @global, null} ; [ DW_TAG_variable ]