Skip to content

Commit 5a6a5a1

Browse files
committed
add test
1 parent bf8575d commit 5a6a5a1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

libcxxabi/test/test_demangle.pass.cpp

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30218,6 +30218,32 @@ const char* cases[][2] =
3021830218
{"_ZZN3Foo3fooEiENH4Foo24foo2EOKS0_", "Foo::foo(int)::Foo2::foo2(this Foo2 const&&)"},
3021930219
{"_ZZNH3Foo3fooES_iENK4Foo24foo2Ev", "Foo::foo(this Foo, int)::Foo2::foo2() const" },
3022030220
{"_ZNH3FooclERKS_", "Foo::operator()(this Foo const&)"},
30221+
30222+
// fixed-point types as defined in the N1169 draft of ISO/IEC DTR 18037
30223+
{"_Z1fDAs", "f(short _Accum)"},
30224+
{"_Z1fDAt", "f(unsigned short _Accum)"},
30225+
{"_Z1fDAi", "f(_Accum)"},
30226+
{"_Z1fDAj", "f(unsigned _Accum)"},
30227+
{"_Z1fDAl", "f(long _Accum)"},
30228+
{"_Z1fDAm", "f(unsigned long _Accum)"},
30229+
{"_Z1fDRs", "f(short _Fract)"},
30230+
{"_Z1fDRt", "f(unsigned short _Fract)"},
30231+
{"_Z1fDRi", "f(_Fract)"},
30232+
{"_Z1fDRj", "f(unsigned _Fract)"},
30233+
{"_Z1fDRl", "f(long _Fract)"},
30234+
{"_Z1fDRm", "f(unsigned long _Fract)"},
30235+
{"_Z1fDSDAs", "f(_Sat short _Accum)"},
30236+
{"_Z1fDSDAt", "f(_Sat unsigned short _Accum)"},
30237+
{"_Z1fDSDAi", "f(_Sat _Accum)"},
30238+
{"_Z1fDSDAj", "f(_Sat unsigned _Accum)"},
30239+
{"_Z1fDSDAl", "f(_Sat long _Accum)"},
30240+
{"_Z1fDSDAm", "f(_Sat unsigned long _Accum)"},
30241+
{"_Z1fDSDRs", "f(_Sat short _Fract)"},
30242+
{"_Z1fDSDRt", "f(_Sat unsigned short _Fract)"},
30243+
{"_Z1fDSDRi", "f(_Sat _Fract)"},
30244+
{"_Z1fDSDRj", "f(_Sat unsigned _Fract)"},
30245+
{"_Z1fDSDRl", "f(_Sat long _Fract)"},
30246+
{"_Z1fDSDRm", "f(_Sat unsigned long _Fract)"},
3022130247
};
3022230248
// clang-format on
3022330249

0 commit comments

Comments
 (0)