013-call.c (390B)
1 /* tests/cc-e2e/13-call.c — function call with two int args. 2 * Split from 01-kitchen-sink. */ 3 4 int f_basic(int a, int b) { return a + b; } 5 6 int test_call(void) { 7 int x = f_basic(3, 4); /* 7 */ 8 int y = f_basic(10, -2); /* 8 */ 9 return x + y; /* 15 */ 10 } 11 12 int main(int argc, char **argv) { 13 if (test_call() != 15) return 1; 14 return 0; 15 }