1 ; RUN: llvm-undname < %s | FileCheck %s
3 ; CHECK-NOT: Invalid mangled name
6 ; CHECK: void __cdecl nochange(void)
9 ; CHECK: void __cdecl a(int (__cdecl *)(void))
11 ; CHECK: void __cdecl a(int (__cdecl *)(void) noexcept)
14 ; CHECK: void __cdecl b(int (__cdecl *)(void))
17 ; CHECK: void __cdecl c(int (__cdecl *)(void))
19 ; CHECK: void __cdecl c(int (__cdecl *)(void) noexcept)
21 ?ee@?$e@$$A6AXXZ@@EEAAXXZ
22 ; CHECK: private: virtual void __cdecl e<void __cdecl(void)>::ee(void)
24 ?ee@?$e@$$A6AXX_E@@EEAAXXZ
25 ; CHECK: private: virtual void __cdecl e<void __cdecl(void) noexcept>::ee(void)