When mangling for the Microsoft C++ ABI, mangle variables in the global
namespace, too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105809 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenCXX/mangle-ms.cpp b/test/CodeGenCXX/mangle-ms.cpp
index 27ae8bf..68640ca 100644
--- a/test/CodeGenCXX/mangle-ms.cpp
+++ b/test/CodeGenCXX/mangle-ms.cpp
@@ -1,6 +1,7 @@
// RUN: %clang_cc1 -emit-llvm %s -o - -cxx-abi microsoft -triple=i386-apple-darwin10 | FileCheck %s
-//int a; // FIXME: All names not in an extern "C" block are mangled
+int a;
+// CHECK: @"\01?a@@"
namespace N { int b; }
// CHECK: @"\01?b@N@@"