Files
clang-p2996/compiler-rt/test/fuzzer/GcSectionsTest.cpp
Kostya Serebryany 80e9a6ccd1 [libFuzzer] add linux-specific test for gc-sections
llvm-svn: 313421
2017-09-15 23:07:18 +00:00

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;
}