void f(){g();}void g(){f();}int main(){f();}
Standard input is empty
prog.cpp: In function ‘void f()’: prog.cpp:1:12: error: ‘g’ was not declared in this scope void f(){g();}void g(){f();}int main(){f();} ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!