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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259731 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
196 B
C++
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;
|
|
}
|
|
|