aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle-ms.cpp
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2010-06-11 04:25:47 +0000
committerCharles Davis <cdavis@mines.edu>2010-06-11 04:25:47 +0000
commit971154db24429b103280d15423b8c200cfb2380c (patch)
tree609f1c6e420b25b6aed74f798c58ce48dce70090 /test/CodeGenCXX/mangle-ms.cpp
parent876e994957472eda4b40136d4e1d6e08e2be338f (diff)
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
Diffstat (limited to 'test/CodeGenCXX/mangle-ms.cpp')
-rw-r--r--test/CodeGenCXX/mangle-ms.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGenCXX/mangle-ms.cpp b/test/CodeGenCXX/mangle-ms.cpp
index 27ae8bf919..68640ca292 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@@"