summaryrefslogtreecommitdiff
path: root/testing/fuzzers/pdfium_fuzzer_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testing/fuzzers/pdfium_fuzzer_helper.cc')
-rw-r--r--testing/fuzzers/pdfium_fuzzer_helper.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/fuzzers/pdfium_fuzzer_helper.cc b/testing/fuzzers/pdfium_fuzzer_helper.cc
index ed000d251d..0315916d0c 100644
--- a/testing/fuzzers/pdfium_fuzzer_helper.cc
+++ b/testing/fuzzers/pdfium_fuzzer_helper.cc
@@ -261,4 +261,7 @@ struct TestCase {
UNSUPPORT_INFO unsupport_info;
};
-static TestCase* test_case = new TestCase();
+// pdf_fuzzer_init.cc and pdfium_fuzzer_helper.cc are mutually exclusive and
+// should not be built together. They deliberately have the same global
+// variable.
+static TestCase* g_test_case = new TestCase();