Commit 80ddf88e authored by Michael Beck's avatar Michael Beck
Browse files

improved test: added new Confirm/cond_eval combination

[r19751]
parent 2896b226
#include <stdio.h>
int xtest(int x) {
if (x) {
printf("%d\n", x);
}
if (x) {
printf("%d\n", x);
}
}
int test(int a, int b) {
int x = a * b;
if (a == 0)
......@@ -29,8 +38,9 @@ int test3(int a, int b) {
}
int main(void) {
printf("xtest() = %d\n", xtest(1));
printf("test() = %d\n", test(0, 1));
printf("test() = %d\n", test2(1, 3));
printf("test() = %d\n", test3(-3, 3));
printf("test2() = %d\n", test2(1, 3));
printf("test3() = %d\n", test3(-3, 3));
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment