summaryrefslogtreecommitdiff
path: root/test/fuzzer/DSOTestExtra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzer/DSOTestExtra.cpp')
-rw-r--r--test/fuzzer/DSOTestExtra.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fuzzer/DSOTestExtra.cpp b/test/fuzzer/DSOTestExtra.cpp
new file mode 100644
index 000000000000..a2274d070ebb
--- /dev/null
+++ b/test/fuzzer/DSOTestExtra.cpp
@@ -0,0 +1,11 @@
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+
+// Source code for a simple DSO.
+
+int DSOTestExtra(int a) {
+ if (a < 452345)
+ return 0;
+ return 1;
+}
+