fork(1) download
  1. #include <iostream>
  2. int f(int,double);
  3. double f(int,double);
  4. int main()
  5. { return 0; }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:20: error: ambiguating new declaration of 'double f(int, double)'
 double f(int,double);
                    ^
prog.cpp:2:5: note: old declaration 'int f(int, double)'
 int f(int,double);
     ^
stdout
Standard output is empty