diff options
-rw-r--r-- | compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp (renamed from compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.c) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.c b/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp index 49570cbc771..8e24acbcf2d 100644 --- a/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.c +++ b/compiler-rt/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp @@ -4119,7 +4119,7 @@ int api(const uint8_t *data, size_t size) { return 1; } -int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { +extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { if (api(Data, Size)) { // Should've crashed before getting here. return 0; |