aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/test/fuzzer/windows-opt-ref.test
blob: 53c45e3692a64137a3bc34cca11a721646b84acd (plain)
1
2
3
4
5
6
7
8
9
REQUIRES: windows
// Verify that the linker eliminating unreferenced functions (/OPT:REF) does not
// strip sancov module constructor.
RUN: %cpp_compiler %S/SimpleCmpTest.cpp -o %t-SimpleCmpTest -Wl,-OPT:REF

RUN: not %run %t-SimpleCmpTest -seed=1 -runs=100000000 2>&1 | FileCheck %s

CHECK-NOT: ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting.
CHECK: BINGO