summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/fuzzer/strncmp.test
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/fuzzer/strncmp.test')
-rw-r--r--compiler-rt/test/fuzzer/strncmp.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/test/fuzzer/strncmp.test b/compiler-rt/test/fuzzer/strncmp.test
new file mode 100644
index 00000000000..49693c8de8f
--- /dev/null
+++ b/compiler-rt/test/fuzzer/strncmp.test
@@ -0,0 +1,4 @@
+RUN: %cpp_compiler %S/StrncmpTest.cpp -o %t-StrncmpTest
+RUN: not %t-StrncmpTest -seed=2 -runs=10000000 2>&1 | FileCheck %s
+CHECK: BINGO
+
OpenPOWER on IntegriCloud