1 ; RUN: llvm-undname < %s | FileCheck %s
2 ; RUN: llvm-undname --no-calling-convention < %s | FileCheck %s --check-prefix=CHECK-NO-CALLING-CONV
3 ; RUN: llvm-undname --no-return-type < %s | FileCheck %s --check-prefix=CHECK-NO-RETURN
4 ; RUN: llvm-undname --no-access-specifier < %s | FileCheck %s --check-prefix=CHECK-NO-ACCESS
5 ; RUN: llvm-undname --no-member-type < %s | FileCheck %s --check-prefix=CHECK-NO-MEMBER-TYPE
6 ; RUN: llvm-undname --no-calling-convention --no-return-type --no-access-specifier --no-member-type < %s | FileCheck %s --check-prefix=CHECK-NO-ALL
8 ?func@MyClass@@UEAAHHH@Z
9 ; CHECK: public: virtual int __cdecl MyClass::func(int, int)
10 ; CHECK-NO-CALLING-CONV: public: virtual int MyClass::func(int, int)
11 ; CHECK-NO-RETURN: public: virtual __cdecl MyClass::func(int, int)
12 ; CHECK-NO-ACCESS: {{^}}virtual int __cdecl MyClass::func(int, int)
13 ; CHECK-NO-MEMBER-TYPE: public: int __cdecl MyClass::func(int, int)
14 ; CHECK-NO-ALL: {{^}}MyClass::func(int, int)