Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / fuzzer / UncaughtException.cpp
blob35df4a9ce326ac351ea25a7de6995714e77f1d2a
1 #include <cstdint>
2 #include <vector>
4 extern "C" int LLVMFuzzerTestOneInput(const std::uint8_t *data, size_t size) {
5 std::vector<uint8_t> v;
6 // Intentionally throw std::length_error
7 v.reserve(static_cast<uint64_t>(-1));
9 return 0;