Piotr Caban (@piotr) commented about dlls/msvcrt/tests/cpp.c:
/* 135 */ {"?x@@3PAY02HA", "int (* x)[3]"}, /* 136 */ {"??$?0AEAVzzz(a)BB4@AA@@AEAV012@$0A@@?$pair(a)Vzzz@BB4(a)AA@@V123@@std@@QEAA(a)AEAVzzz@BB4(a)AA@@0(a)Z", "public: __cdecl std::pair<class AA::BB4::zzz,class AA::BB4::zzz>::pair<class AA::BB4::zzz,class AA::BB4::zzz><class AA::BB4::zzz & __ptr64,class AA::BB4::zzz & __ptr64,0>(class AA::BB4::zzz & __ptr64,class AA::BB4::zzz & __ptr64) __ptr64"}, +/* 137 */ {"??Bcastop@@QAEHXZ", "public: __thiscall castop::operator int(void)"}, The test you have added works both with and without your commit. I guess it's a templates related fix so something like "??$?BDM(a)castop@@QAEHXZ" will make more sense.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/492#note_4684