aboutsummaryrefslogtreecommitdiff
path: root/test/fuzzer/simple.test
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 11:06:48 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 11:06:48 +0000
commit93c1b73a09a52d4a265f683bf1954b08bb430049 (patch)
tree5543464d74945196cc890e9d9099e5d0660df7eb /test/fuzzer/simple.test
parent0d8e7490d6e8a13a8f0977d9b7771803b9f64ea0 (diff)
Notes
Diffstat (limited to 'test/fuzzer/simple.test')
-rw-r--r--test/fuzzer/simple.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fuzzer/simple.test b/test/fuzzer/simple.test
new file mode 100644
index 000000000000..97a09be7cec9
--- /dev/null
+++ b/test/fuzzer/simple.test
@@ -0,0 +1,7 @@
+CHECK: BINGO
+RUN: %cpp_compiler %S/SimpleTest.cpp -o %t-SimpleTest
+
+RUN: not %run %t-SimpleTest 2>&1 | FileCheck %s
+
+# only_ascii mode. Will perform some minimal self-validation.
+RUN: not %run %t-SimpleTest -only_ascii=1 2>&1