There is no need to pubish file static variable's name. Do not rely on this code gen bug to check whether debug info is generated for such variables or not.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110640 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/2009-10-20-GlobalDebug.c b/test/CodeGen/2009-10-20-GlobalDebug.c
index 1db37de..3c46bea 100644
--- a/test/CodeGen/2009-10-20-GlobalDebug.c
+++ b/test/CodeGen/2009-10-20-GlobalDebug.c
@@ -1,7 +1,7 @@
 // RUN: %clang -ccc-host-triple i386-apple-darwin10 -S -g -dA %s -o - | FileCheck %s
 int global;
+// CHECK: ascii   "localstatic"          ## DW_AT_name
 // CHECK: asciz   "global" ## External Name
-// CHECK: asciz   "localstatic"          ## External Name
 int main() { 
   static int localstatic;
   return 0;