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