Michael Stefaniuc : msvcrt: Add some tests for __unDName().

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 20 05:40:40 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 067be97852595ad6e7de6bae73fc5ecab8d2e1be
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=067be97852595ad6e7de6bae73fc5ecab8d2e1be

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Mon Feb 20 11:18:25 2006 +0100

msvcrt: Add some tests for __unDName().
Add some tests for unDName() checking:
- data type modifiers A,B,P,Q,R,S
- literal strings
- back references to names

---

 dlls/msvcrt/tests/cpp.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcrt/tests/cpp.c b/dlls/msvcrt/tests/cpp.c
index 14eae6d..8165ffd 100644
--- a/dlls/msvcrt/tests/cpp.c
+++ b/dlls/msvcrt/tests/cpp.c
@@ -963,6 +963,15 @@ static void test_demangle(void)
 {"??_V at YAXPAX@Z", "void __cdecl operator delete[](void *)"},
 {"??X?$_Complex_base at M@std@@QAEAAV01 at ABM@Z", "public: class std::_Complex_base<float> & __thiscall std::_Complex_base<float>::operator*=(float const &)"},
 {"??Xstd@@YAAAV?$complex at M@0 at AAV10@ABV10@@Z", "class std::complex<float> & __cdecl std::operator*=(class std::complex<float> &,class std::complex<float> const &)"},
+{"?aaa@@YAHAAUbbb@@@Z", "int __cdecl aaa(struct bbb &)"},
+{"?aaa@@YAHBAUbbb@@@Z", "int __cdecl aaa(struct bbb & volatile)"},
+{"?aaa@@YAHPAUbbb@@@Z", "int __cdecl aaa(struct bbb *)"},
+{"?aaa@@YAHQAUbbb@@@Z", "int __cdecl aaa(struct bbb * const)"},
+{"?aaa@@YAHRAUbbb@@@Z", "int __cdecl aaa(struct bbb * volatile)"},
+{"?aaa@@YAHSAUbbb@@@Z", "int __cdecl aaa(struct bbb * const volatile)"},
+{"??0aa.a@@QAE at XZ", "??0aa.a@@QAE at XZ"},
+{"??0aa$_3a@@QAE at XZ", "public: __thiscall aa$_3a::aa$_3a(void)"},
+{"??2?$aaa at AAUbbb@@AAUccc@@AAU2@@ddd at 1eee@2 at QAEHXZ", "public: int __thiscall eee::eee::ddd::ddd::aaa<struct bbb &,struct ccc &,struct ccc &>::operator new(void)"},
     };
     int i, num_test = (sizeof(test)/sizeof(test[0]));
     char* name;




More information about the wine-cvs mailing list