xref: /llvm-project/compiler-rt/test/fuzzer/DSO1.cpp (revision 2946cd701067404b99c39fb29dc9c74bd7193eb3)
1 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
2 // See https://llvm.org/LICENSE.txt for license information.
3 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
4 
5 // Source code for a simple DSO.
6 #ifdef _WIN32
7 __declspec( dllexport )
8 #endif
DSO1(int a)9 int DSO1(int a) {
10   if (a < 123456)
11     return 0;
12   return 1;
13 }
14 
Uncovered1()15 void Uncovered1() { }
16