Add list crashing test
Fixed by the previous commit.
@@ -25,6 +25,10 @@ Y_UNIT_TEST_SUITE(Demangle) {
Check("_ZNKSt3__110__function6__funcIZN4DLCL8DLFutureIP15AnalysenManagerE3setINS_8functionIFS5_vEEEJEEEvT_DpOT0_EUlvE_NS_9allocatorISF_EEFvvEE7__cloneEv", "std::__1::__function::__func<void DLCL::DLFuture<AnalysenManager*>::set<std::__1::function<AnalysenManager* ()> >(std::__1::function<AnalysenManager* ()>)::'lambda'(), std::__1::allocator<void DLCL::DLFuture<AnalysenManager*>::set<std::__1::function<AnalysenManager* ()> >(std::__1::function<AnalysenManager* ()>)::'lambda'()>, void ()>::__clone() const");
}
+ Y_UNIT_TEST(List2) {
+ Check("_Z1iIiLi0EMN1d1e1fEFvPcEJEE1aIN1bIN1cIT1_E1gEFvvEE1hEEiS9_", "a<b<c<void (d::e::f::*)(char*)>::g, void ()>::h> i<int, 0, void (d::e::f::*)(char*)>(int, void (d::e::f::*)(char*))");
+ }
+
Y_UNIT_TEST(Lambda1) {
Check("_ZUliE_", "'lambda'(int)");
}
