10b94e880SJonathan MetzmanREQUIRES: windows 20b94e880SJonathan Metzman// Verify that the linker eliminating unreferenced functions (/OPT:REF) does not 30b94e880SJonathan Metzman// strip sancov module constructor. 4*1a285c27SReid KlecknerRUN: %cpp_compiler %S/SimpleCmpTest.cpp -o %t-SimpleCmpTest -Wl,-OPT:REF 50b94e880SJonathan Metzman 60b94e880SJonathan MetzmanRUN: not %run %t-SimpleCmpTest -seed=1 -runs=100000000 2>&1 | FileCheck %s 70b94e880SJonathan Metzman 80b94e880SJonathan MetzmanCHECK-NOT: ERROR: no interesting inputs were found. Is the code instrumented for coverage? Exiting. 90b94e880SJonathan MetzmanCHECK: BINGO 10