NAKAMURA Takumi ae36790be4
test/llvm-cov: Regenerate MC/DC tests (#80610)
* Revise instructions for regeneration, not to create executables.
* Add instructions to regenerate both object files and test vectors
(except for `mcdc-general-none.proftext`)
* Reformat
2024-02-05 07:43:18 +09:00

27 lines
341 B
C++

#include <stdio.h>
void test(bool a, bool b, bool c, bool d) {
if ((a && 1) || (0 && d) || 0)
printf("test1 decision true\n");
}
int main()
{
test(true,false,true,false);
test(true,false,true,true);
test(true,true,false,false);
test(false,true,true,false);
test(true,false,false,false);
return 0;
}