summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
commitdcacc00e3750300617ba6e16eb346713f91a783a (patch)
tree38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp')
-rw-r--r--examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp b/examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp
deleted file mode 100644
index c1cf6cd..0000000
--- a/examples/redis-unstable/deps/jemalloc/test/integration/cpp/basic.cpp
+++ /dev/null
@@ -1,24 +0,0 @@
-#include "test/jemalloc_test.h"
-
-TEST_BEGIN(test_basic) {
- auto foo = new long(4);
- expect_ptr_not_null(foo, "Unexpected new[] failure");
- delete foo;
- // Test nullptr handling.
- foo = nullptr;
- delete foo;
-
- auto bar = new long;
- expect_ptr_not_null(bar, "Unexpected new failure");
- delete bar;
- // Test nullptr handling.
- bar = nullptr;
- delete bar;
-}
-TEST_END
-
-int
-main() {
- return test(
- test_basic);
-}