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