fork download
  1. struct A
  2. {
  3. static void f(A) { }
  4. };
  5.  
  6. int main() {
  7. A a;
  8. f(a);
  9. }
  10.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:8: error: ‘f’ was not declared in this scope
     f(a);
        ^
stdout
Standard output is empty