fork download
  1. int foo(); /*declaration*/
  2.  
  3. int main(void) {
  4. foo(42) /*UB*/;
  5. foo(3.14159);
  6. return 0;
  7. }
  8.  
  9. /*definition*/
  10. int foo(double x) { return x; }
Success #stdin #stdout 0s 4500KB
stdin
Standard input is empty
stdout
Standard output is empty