Kostya Serebryany | b92602a | 2016-02-04 00:02:17 +0000 | [diff] [blame] | 1 | // Test with a leak. |
2 | #include <cstdint> | ||||
3 | #include <cstddef> | ||||
4 | |||||
5 | static volatile void *Sink; | ||||
6 | |||||
7 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { | ||||
8 | Sink = new int; | ||||
9 | return 0; | ||||
10 | } | ||||
11 |