[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / Demangle / ms-conversion-operators.test
blob95cf1162f0033b4964d9ae3849225dba11bb7d91
1 ; RUN: llvm-undname < %s | FileCheck %s
3 ; CHECK-NOT: Invalid mangled name
5 ??$?BH@TemplateOps@@QAEHXZ
6 ; CHECK: int __thiscall TemplateOps::operator<int> int(void)
8 ??BOps@@QAEHXZ
9 ; CHECK: int __thiscall Ops::operator int(void)
11 ??BConstOps@@QAE?BHXZ
12 ; CHECK: int const __thiscall ConstOps::operator int const(void)
14 ??BVolatileOps@@QAE?CHXZ
15 ; CHECK: int volatile __thiscall VolatileOps::operator int volatile(void)
17 ??BConstVolatileOps@@QAE?DHXZ
18 ; CHECK: int const volatile __thiscall ConstVolatileOps::operator int const volatile(void)
20 ??$?BN@TemplateOps@@QAENXZ
21 ; CHECK: double __thiscall TemplateOps::operator<double> double(void)
23 ??BOps@@QAENXZ
24 ; CHECK: double __thiscall Ops::operator double(void)
26 ??BConstOps@@QAE?BNXZ
27 ; CHECK: double const __thiscall ConstOps::operator double const(void)
29 ??BVolatileOps@@QAE?CNXZ
30 ; CHECK: double volatile __thiscall VolatileOps::operator double volatile(void)
32 ??BConstVolatileOps@@QAE?DNXZ
33 ; CHECK: double const volatile __thiscall ConstVolatileOps::operator double const volatile(void)
35 ??BCompoundTypeOps@@QAEPAHXZ
36 ; CHECK: nt * __thiscall CompoundTypeOps::operator int *(void)
38 ??BCompoundTypeOps@@QAEPBHXZ
39 ; CHECK: int const * __thiscall CompoundTypeOps::operator int const *(void)
41 ??BCompoundTypeOps@@QAE$$QAHXZ
42 ; CHECK: int && __thiscall CompoundTypeOps::operator int &&(void)
44 ??BCompoundTypeOps@@QAE?AU?$Foo@H@@XZ
45 ; CHECK: struct Foo<int> __thiscall CompoundTypeOps::operator struct Foo<int>(void)
47 ??$?BH@CompoundTypeOps@@QAE?AU?$Bar@U?$Foo@H@@@@XZ
48 ; CHECK: struct Bar<struct Foo<int>> __thiscall CompoundTypeOps::operator<int> struct Bar<struct Foo<int>>(void)
50 ??$?BPAH@TemplateOps@@QAEPAHXZ
51 ; CHECK: int * __thiscall TemplateOps::operator<int *> int *(void)