Mangle member pointer types in the Microsoft C++ Mangler.
llvm-svn: 107567
diff --git a/clang/test/CodeGenCXX/mangle-ms.cpp b/clang/test/CodeGenCXX/mangle-ms.cpp
index e221410..6f1ac3e 100644
--- a/clang/test/CodeGenCXX/mangle-ms.cpp
+++ b/clang/test/CodeGenCXX/mangle-ms.cpp
@@ -10,6 +10,8 @@
// CHECK: @"\01?h@@3QAHA"
// CHECK: @"\01?i@@3PAY0BD@HA"
// CHECK: @"\01?j@@3P6GHCE@ZA"
+// CHECK: @"\01?k@@3PTfoo@@DA"
+// CHECK: @"\01?l@@3P8foo@@AAHH@ZA"
int a;
@@ -61,6 +63,10 @@
int (__stdcall *j)(signed char, unsigned char);
+const volatile char foo::*k;
+
+int (foo::*l)(int);
+
// Static functions are mangled, too.
// Also make sure calling conventions, arglists, and throw specs work.
static void __stdcall alpha(float a, double b) throw() {}