aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorilnaz <ilnaz@ydb.tech>2022-11-15 16:01:28 +0300
committerilnaz <ilnaz@ydb.tech>2022-11-15 16:01:28 +0300
commitec904f035bf5d3663c00ba636c43416a99f7b387 (patch)
tree86bb9505676ba9b6ae056b7db8d2fd43c56634eb /contrib/libs
parent7acb5a7e5fb57a2e60219f301523a0dde4476401 (diff)
downloadydb-ec904f035bf5d3663c00ba636c43416a99f7b387.tar.gz
(refactoring) Simplify suboperations
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/libunwind/ut/libunwind_ut.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/contrib/libs/libunwind/ut/libunwind_ut.cpp b/contrib/libs/libunwind/ut/libunwind_ut.cpp
deleted file mode 100644
index 93767c50c8..0000000000
--- a/contrib/libs/libunwind/ut/libunwind_ut.cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <library/cpp/testing/unittest/registar.h>
-
-#include <util/system/compiler.h>
-
-#include <exception>
-#include <vector>
-
-Y_NO_INLINE void Except(int arg, ...) {
- (void)arg;
- throw std::exception();
-}
-
-Y_UNIT_TEST_SUITE(LibunwindSuite) {
- static void Y_NO_INLINE DoTestVarargs() {
- std::vector<int> v;
- v.push_back(0);
- Except(0x11, 0x22, 0x33, 0x44, 0xAA, 0xBB, 0xCC, 0xDD);
- }
-
- Y_UNIT_TEST(TestVarargs) {
- try {
- DoTestVarargs();
- } catch (const std::exception& e) {
- return;
- }
-
- UNIT_FAIL("Should not be here");
- }
-}