mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 20:46:06 +00:00

* 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
27 lines
341 B
C++
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;
|
|
}
|