brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 488cd7f Raw
54 lines · plain
1; These tests are based on clang/test/CodeGenCXX/mangle-ms-template-callback.cpp2 3; RUN: llvm-undname < %s | FileCheck %s4 5; CHECK-NOT: Invalid mangled name6 7?callback_void@@3V?$C@$$A6AXXZ@@A8; CHECK: class C<void __cdecl(void)> callback_void9 10?callback_void_volatile@@3V?$C@$$A6AXXZ@@C11; CHECK: class C<void __cdecl(void)> volatile callback_void_volatile12 13?callback_int@@3V?$C@$$A6AHXZ@@A14; CHECK: C<int __cdecl(void)> callback_int15 16?callback_Type@@3V?$C@$$A6A?AVType@@XZ@@A17; CHECK: C<class Type __cdecl(void)> callback_Type18 19?callback_void_int@@3V?$C@$$A6AXH@Z@@A20; CHECK: C<void __cdecl(int)> callback_void_int21 22?callback_int_int@@3V?$C@$$A6AHH@Z@@A23; CHECK: C<int __cdecl(int)> callback_int_int24 25?callback_void_Type@@3V?$C@$$A6AXVType@@@Z@@A26; CHECK: C<void __cdecl(class Type)> callback_void_Type27 28?foo@@YAXV?$C@$$A6AXXZ@@@Z29; CHECK: void __cdecl foo(class C<void __cdecl(void)>)30 31?function@@YAXV?$C@$$A6AXXZ@@@Z32; CHECK: void __cdecl function(class C<void __cdecl(void)>)33 34?function_pointer@@YAXV?$C@P6AXXZ@@@Z35; CHECK: void __cdecl function_pointer(class C<void (__cdecl *)(void)>)36 37?member_pointer@@YAXV?$C@P8Z@@AEXXZ@@@Z38; CHECK: void __cdecl member_pointer(class C<void (__thiscall Z::*)(void)>)39 40??$bar@P6AHH@Z@@YAXP6AHH@Z@Z41; CHECK: void __cdecl bar<int (__cdecl *)(int)>(int (__cdecl *)(int))42 43??$WrapFnPtr@$1?VoidFn@@YAXXZ@@YAXXZ44; CHECK: void __cdecl WrapFnPtr<&void __cdecl VoidFn(void)>(void)45 46??$WrapFnRef@$1?VoidFn@@YAXXZ@@YAXXZ47; CHECK: void __cdecl WrapFnRef<&void __cdecl VoidFn(void)>(void)48 49??$WrapFnPtr@$1?VoidStaticMethod@Thing@@SAXXZ@@YAXXZ50; CHECK: void __cdecl WrapFnPtr<&public: static void __cdecl Thing::VoidStaticMethod(void)>(void)51 52??$WrapFnRef@$1?VoidStaticMethod@Thing@@SAXXZ@@YAXXZ53; CHECK: void __cdecl WrapFnRef<&public: static void __cdecl Thing::VoidStaticMethod(void)>(void)54