summaryrefslogtreecommitdiff
path: root/test/fuzzer/DSO2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzer/DSO2.cpp')
-rw-r--r--test/fuzzer/DSO2.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/fuzzer/DSO2.cpp b/test/fuzzer/DSO2.cpp
new file mode 100644
index 000000000000..2967055dc227
--- /dev/null
+++ b/test/fuzzer/DSO2.cpp
@@ -0,0 +1,14 @@
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+
+// Source code for a simple DSO.
+#ifdef _WIN32
+__declspec( dllexport )
+#endif
+int DSO2(int a) {
+ if (a < 3598235)
+ return 0;
+ return 1;
+}
+
+void Uncovered2() {}