Author: nico Date: Sun Jun 2 10:23:53 2019 New Revision: 362331 URL: http://llvm.org/viewvc/llvm-project?rev=362331&view=rev Log: Add mangling test coverage for non-volatile const member pointers
Modified: cfe/trunk/test/CodeGenCXX/mangle-ms.cpp Modified: cfe/trunk/test/CodeGenCXX/mangle-ms.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/mangle-ms.cpp?rev=362331&r1=362330&r2=362331&view=diff ============================================================================== --- cfe/trunk/test/CodeGenCXX/mangle-ms.cpp (original) +++ cfe/trunk/test/CodeGenCXX/mangle-ms.cpp Sun Jun 2 10:23:53 2019 @@ -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@" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits