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