aboutsummaryrefslogtreecommitdiff
path: root/test/fuzzer/bogus-initialize.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzer/bogus-initialize.test')
-rw-r--r--test/fuzzer/bogus-initialize.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/fuzzer/bogus-initialize.test b/test/fuzzer/bogus-initialize.test
new file mode 100644
index 000000000000..2dff2d5a2639
--- /dev/null
+++ b/test/fuzzer/bogus-initialize.test
@@ -0,0 +1,4 @@
+RUN: %cpp_compiler %S/BogusInitializeTest.cpp -o %t-BogusInitializeTest
+
+RUN: not %run %t-BogusInitializeTest 2>&1 | FileCheck %s --check-prefix=BOGUS_INITIALIZE
+BOGUS_INITIALIZE: argv[0] has been modified in LLVMFuzzerInitialize