msvcrt/tests: add some demangle tests

Christian Costa titan.costa at wanadoo.fr
Fri Jan 15 09:13:45 CST 2010


Maybe you can do it for ?swprintf@@YAHPA_WIPB_WZZ as well...

André Hentschel a écrit :
> somehow regarding http://source.winehq.org/patches/data/57476
> ---
>  dlls/msvcrt/tests/cpp.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/dlls/msvcrt/tests/cpp.c b/dlls/msvcrt/tests/cpp.c
> index 106ef73..a75883d 100644
> --- a/dlls/msvcrt/tests/cpp.c
> +++ b/dlls/msvcrt/tests/cpp.c
> @@ -1034,6 +1034,9 @@ static void test_demangle(void)
>  /* 113 */ {"?f at T@@QAEHQAY1BE at BO@$$CBD at Z", "public: int __thiscall T::f(char const (* const)[20][30])"},
>  /* 114 */ {"??0?$Foo at U?$vector_c at H$00$01$0?1$0A@$0A@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@$0HPPPPPPP@@mpl at boost@@@@QAE at XZ",
>             "public: __thiscall Foo<struct boost::mpl::vector_c<int,1,2,-2,0,0,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647> >::Foo<struct boost::mpl::vector_c<int,1,2,-2,0,0,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647> >(void)"},
> +/* 115 */ {"?swprintf@@YAHPAGIPBGZZ", "int __cdecl swprintf(unsigned short *,unsigned int,unsigned short const *,...)"},
> +/* 116 */ {"?vswprintf@@YAHPAGIPBGPAD at Z", "int __cdecl vswprintf(unsigned short *,unsigned int,unsigned short const *,char *)"},
> +/* 117 */ {"?vswprintf@@YAHPA_WIPB_WPAD at Z", "int __cdecl vswprintf(wchar_t *,unsigned int,wchar_t const *,char *)"},
>  
>      };
>      int i, num_test = (sizeof(test)/sizeof(test[0]));
>   






More information about the wine-devel mailing list