summaryrefslogtreecommitdiffstats
path: root/libcxx/test/libcxx/fuzzing/partition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/libcxx/fuzzing/partition.cpp')
-rw-r--r--libcxx/test/libcxx/fuzzing/partition.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/libcxx/test/libcxx/fuzzing/partition.cpp b/libcxx/test/libcxx/fuzzing/partition.cpp
deleted file mode 100644
index 0833e38e211..00000000000
--- a/libcxx/test/libcxx/fuzzing/partition.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-// -*- C++ -*-
-//===--------------------------- partition.cpp ----------------------------===//
-//
-// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-// See https://llvm.org/LICENSE.txt for license information.
-// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-//
-//===----------------------------------------------------------------------===//
-
-// XFAIL
-
-#include "fuzzing.h"
-#include <cassert>
-#include <cstring> // for strlen
-
-const char * test_cases[] = {
- "",
- "s",
- "bac",
- "bacasf"
- "lkajseravea",
- "adsfkajdsfjkas;lnc441324513,34535r34525234"
- };
-
-const size_t k_num_tests = sizeof(test_cases)/sizeof(test_cases[0]);
-
-
-int main(int, char**)
-{
- for (size_t i = 0; i < k_num_tests; ++i)
- {
- const size_t size = std::strlen(test_cases[i]);
- const uint8_t *data = (const uint8_t *) test_cases[i];
- assert(0 == fuzzing::partition(data, size));
- }
- return 0;
-}
OpenPOWER on IntegriCloud