[libFuzzer] rename a test from .c to .cpp

llvm-svn: 332558
This commit is contained in:
Kostya Serebryany 2018-05-16 23:38:53 +00:00
parent c5368c230e
commit a52d30b2bc
1 changed files with 1 additions and 1 deletions

View File

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