foo1(int x,int y)1int foo1(int x, int y) { return x + y + 1; }
foo2(int x,int y)2int foo2(int x, int y) { return x + y + 2; }
foo3(int x,int y,...)3int foo3(int x, int y, ...) { return x + y + 3; }
4 // GCC omits the ...: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111788
foo4(int x,...)5int foo4(int x, ...) { return x + 4; }
6