aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDan Benjamin <danben@gmail.com>2021-02-18 13:25:30 -0500
committerDan Benjamin <danben@gmail.com>2021-02-18 17:35:24 -0500
commit56ace907b9b7b4544c95e2945dc07e217718a8e5 (patch)
treefb9b6320da08e4ebe600f595a28b5951b268c508 /src/test
parentb805dbb0b9c90dadef0424e5b3bf86ac308e103e (diff)
Fix fuzz binary compilation under windows
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/fuzz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/fuzz.cpp b/src/test/fuzz/fuzz.cpp
index 45151258b3..edb270d437 100644
--- a/src/test/fuzz/fuzz.cpp
+++ b/src/test/fuzz/fuzz.cpp
@@ -72,7 +72,7 @@ extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)
}
#if defined(PROVIDE_MAIN_FUNCTION)
-__attribute__((weak)) int main(int argc, char** argv)
+int main(int argc, char** argv)
{
initialize();
static const auto& test_one_input = *Assert(g_test_one_input);