summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle-ms-cxx11.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-11-21 09:06:49 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-11-21 09:06:49 +0000
commiteb05ef7c434633fdbcaed4f09612ef1fdfc1f689 (patch)
treee77cd0ecc54e9159a0182966aadefb3379973093 /test/CodeGenCXX/mangle-ms-cxx11.cpp
parent7a620261c6f04cc9d22caa750f9bf2b084690dbd (diff)
downloadclang-eb05ef7c434633fdbcaed4f09612ef1fdfc1f689.tar.gz
MS ABI: Mangle char16_t and char32_t types
These mangling make clang more compatible with MSVC 2015. Correctly mangling char16_t and char32_t will take a little more work. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle-ms-cxx11.cpp')
-rw-r--r--test/CodeGenCXX/mangle-ms-cxx11.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CodeGenCXX/mangle-ms-cxx11.cpp b/test/CodeGenCXX/mangle-ms-cxx11.cpp
index ded08b9ff1..fe7121ef24 100644
--- a/test/CodeGenCXX/mangle-ms-cxx11.cpp
+++ b/test/CodeGenCXX/mangle-ms-cxx11.cpp
@@ -56,6 +56,12 @@ S<L> l;
// CHECK: "\01?DeducedType@@3HA"
auto DeducedType = 30;
+// CHECK-DAG: @"\01?Char16Var@@3_SA"
+char16_t Char16Var;
+
+// CHECK-DAG: @"\01?Char32Var@@3_UA"
+char32_t Char32Var;
+
// CHECK: "\01?LRef@@YAXAAH@Z"
void LRef(int& a) { }