blob: fd9da7735cdef4dffeb7494d1d49065813b806f0 [file] [log] [blame]
Kostya Serebryany80e9a6c2017-09-15 23:07:18 +00001// This file is distributed under the University of Illinois Open Source
2// License. See LICENSE.TXT for details.
3
4// Simple test for a fuzzer.
5// The unused function should not be present in the binary.
6#include <cstddef>
7#include <cstdint>
8
9extern "C" void UnusedFunctionShouldBeRemovedByLinker() { }
10
11extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
12 return 0;
13}
14