fuzz: Configure check for main function (take 2)

pull/21080/head
MarcoFalke 4 years ago
parent ea5a50f92a
commit fac4be3048
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -1254,8 +1254,10 @@ if test "x$enable_fuzz" = "xyes"; then
#include <cstdint>
#include <cstddef>
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { return 0; }
/* unterminated comment to remove the main function ...
]],[[]])])
/* comment to remove the main function ...
]],[[
*/ int not_main() {
]])])
else
BITCOIN_QT_INIT

Loading…
Cancel
Save