mirror of
https://github.com/encounter/msvc-demangler-rust.git
synced 2026-07-10 12:18:38 -07:00
add now-passing tests
This commit is contained in:
committed by
Jeff Muizelaar
parent
459f703048
commit
79e56acee2
@@ -1696,6 +1696,14 @@ mod tests {
|
||||
"??_7W@?A@@6B@",
|
||||
"const `anonymous namespace`::W::`vftable'",
|
||||
);
|
||||
expect(
|
||||
"??_7?$RunnableMethodImpl@PEAVLazyIdleThread@mozilla@@P812@EAAXXZ$0A@$0A@$$V@detail@mozilla@@6BnsIRunnable@@@",
|
||||
"const mozilla::detail::RunnableMethodImpl<class mozilla::LazyIdleThread *,void __cdecl (mozilla::LazyIdleThread::*)(void),0,0>::`vftable\'{for `nsIRunnable\'}",
|
||||
);
|
||||
expect_undname_failure(
|
||||
"??_7?$RunnableMethodImpl@PEAVLazyIdleThread@mozilla@@P812@EAAXXZ$0A@$0A@$$V@detail@mozilla@@6BnsIRunnable@@@",
|
||||
"const mozilla::detail::RunnableMethodImpl<class mozilla::LazyIdleThread * __ptr64,void __cdecl (mozilla::LazyIdleThread::*)(void) __ptr64,0,0>::`vftable\'{for `nsIRunnable\'}",
|
||||
);
|
||||
expect("??1?$ns@$$CBVtxXP@@@@QAE@XZ",
|
||||
"public: __thiscall ns<class txXP const>::~ns<class txXP const>(void)");
|
||||
/* XXX: undname prints void (__thiscall*)(void *) for the parameter type. */
|
||||
|
||||
Reference in New Issue
Block a user