blob: 1f3386d13478b0e03f1d6e3117f0ac9489e4f796 [file] [log] [blame]
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 /link /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