1; See clang/test/CodeGenCXX/mangle-windows.cpp
2; These tests are based on clang/test/CodeGenCXX/mangle-ms.cpp
3; RUN: llvm-undname < %s | FileCheck %s
4
5; CHECK-NOT: Invalid mangled name
6
7?bar@Foo@@SGXXZ
8; CHECK: static void __stdcall Foo::bar(void)
9
10?bar@Foo@@QAGXXZ
11; CHECK: void __stdcall Foo::bar(void)
12
13?f2@@YIXXZ
14; CHECK: void __fastcall f2(void)
15
16?f1@@YGXXZ
17; CHECK: void __stdcall f1(void)
18
19?f5@@YCXXZ
20; CHECK: void __pascal f5(void)
21