int main (){ extern int foo(); return foo();}
Standard input is empty
/home/VhdGV2/cc5qK0i6.o: In function `main': prog.cpp:(.text.startup+0x7): undefined reference to `foo()' collect2: error: ld returned 1 exit status
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!