fuzz: Configure check for main function (take 2)

This commit is contained in:
MarcoFalke 2021-02-04 13:14:17 +01:00
parent ea5a50f92a
commit fac4be3048
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

View File

@ -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