1
0
mirror of https://github.com/RPCSX/llvm.git synced 2025-04-06 18:21:51 +00:00

12 lines
196 B
C++

// Test with a leak.
#include <cstdint>
#include <cstddef>
static volatile void *Sink;
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
Sink = new int;
return 0;
}