]> granicus.if.org Git - llvm/commitdiff
Add mangling test coverage for non-volatile const member pointers
authorNico Weber <nicolasweber@gmx.de>
Sun, 2 Jun 2019 17:23:53 +0000 (17:23 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 2 Jun 2019 17:23:53 +0000 (17:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362331 91177308-0d34-0410-b5e6-96231b3b80d8

test/Demangle/ms-mangle.test

index cd65d8306a1ae3ff88129df35a46485e15d31295..e7badeee64223ff57a5456f698284f2830be574e 100644 (file)
 ?funptr@@YAP6AHXZXZ
 ; CHECK: int (__cdecl * __cdecl funptr(void))(void)
 
+?m@@3PRfoo@@DR1@
+; CHECK: char const foo::*m
+
+?m@@3PERfoo@@DER1@
+; CHECK: char const foo::*m
+
 ?k@@3PTfoo@@DT1@
 ; CHECK: char const volatile foo::*k
 
 ??0?$L@V?$H@PAH@PR26029@@@PR26029@@QAE@XZ
 ; CHECK: __thiscall PR26029::L<class PR26029::H<int *>>::L<class PR26029::H<int *>>(void)
 
-; ??$emplace_back@ABH@?$vector@HV?$allocator@H@std@@@std@@QAE?A?<decltype-auto>@@ABH@Z
-<decltype-auto> __thiscall std::vector<int, class std::allocator<int>>::emplace_back<int const &>(int const &)
\ No newline at end of file
+??$emplace_back@ABH@?$vector@HV?$allocator@H@std@@@std@@QAE?A?<decltype-auto>@@ABH@Z
+; CHECK: <decltype-auto> __thiscall std::vector<int, class std::allocator<int>>::emplace_back<int const &>(int const &)