test4.c (242B)
1 #include <stdio.h> 2 3 int foo(int, int); 4 5 int main() { 6 int result = foo(1, 1); 7 8 if (result == -27) { 9 fprintf(stderr, "Test passed\n"); 10 return 0; 11 } else { 12 fprintf(stderr, "Test failed: expected -27, got %d\n", result); 13 return 1; 14 } 15 }