diff options
author | Kostya Serebryany <kcc@google.com> | 2018-05-16 23:38:53 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-05-16 23:38:53 +0000 |
commit | f27d8bc00e372032b3483adbb3f28c405178bad6 (patch) | |
tree | b910b5196cc3b0e9aea4bb114d8917e26c2e6616 /test | |
parent | 79ef693a094114ff9062f32c3228d9a481ef8775 (diff) |
[libFuzzer] rename a test from .c to .cpp
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp (renamed from test/fuzzer/MultipleConstraintsOnSmallInputTest.c) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fuzzer/MultipleConstraintsOnSmallInputTest.c b/test/fuzzer/MultipleConstraintsOnSmallInputTest.cpp index 49570cbc7..8e24acbcf 100644 --- a/test/fuzzer/MultipleConstraintsOnSmallInputTest.c +++ b/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; |