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 | a52d30b2bc2574c3f8301c7bf9397ce6f2035a98 (patch) | |
tree | 09f11e1a8a60becc5a738ad043687366a203989c | |
parent | c5368c230eb4f866a2f1681b3929ed182afa0a4d (diff) | |
download | bcm5719-llvm-a52d30b2bc2574c3f8301c7bf9397ce6f2035a98.tar.gz bcm5719-llvm-a52d30b2bc2574c3f8301c7bf9397ce6f2035a98.zip |
[libFuzzer] rename a test from .c to .cpp
llvm-svn: 332558
-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; |