From: Nico Weber Date: Sun, 2 Jun 2019 17:23:53 +0000 (+0000) Subject: Add mangling test coverage for non-volatile const member pointers X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76301240dcc95fd9104d27c7f6c61ebffc53f5e9;p=clang Add mangling test coverage for non-volatile const member pointers git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362331 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/mangle-ms.cpp b/test/CodeGenCXX/mangle-ms.cpp index 75ca3af825..4bb376df42 100644 --- a/test/CodeGenCXX/mangle-ms.cpp +++ b/test/CodeGenCXX/mangle-ms.cpp @@ -120,6 +120,10 @@ FunT FunArr[10][20]; int (__stdcall *j)(signed char, unsigned char); // CHECK-DAG: @"?j@@3P6GHCE@ZA" +const char foo2::*m; +// CHECK-DAG: @"?m@@3PRfoo@@DR1@" +// X64-DAG: @"?m@@3PERfoo@@DER1@" + const volatile char foo2::*k; // CHECK-DAG: @"?k@@3PTfoo@@DT1@" // X64-DAG: @"?k@@3PETfoo@@DET1@"