mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 20:11:29 +00:00
15 lines
393 B
C++
15 lines
393 B
C++
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
// Simple test for a fuzzer.
|
|
// The unused function should not be present in the binary.
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
extern "C" void UnusedFunctionShouldBeRemovedByLinker() { }
|
|
|
|
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
|
return 0;
|
|
}
|
|
|