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
9int DSO1(int a) {
10 if (a < 123456)
11 return 0;
12 return 1;
13}
14
15void Uncovered1() { }
16

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of compiler-rt/test/fuzzer/DSO1.cpp