coverage all

This commit is contained in:
Yaossg 2024-12-08 15:41:38 +08:00
parent a9054f0a64
commit 5784a90d7e
15 changed files with 152 additions and 14 deletions

17
test/short.c Normal file
View file

@ -0,0 +1,17 @@
int printf(char* format, ...);
int f(int i) {
printf("f(%d)\n", i);
return i % 2;
}
int main() {
1 && f(1);
0 && f(2);
1 || f(3);
0 || f(4);
1 ? f(5) : f(6);
0 ? f(7) : f(8);
1 && f(9) || f(10);
0 && f(11) || f(12);
}