fork(3) download
  1. int main() {
  2. int x = + "foo";
  3. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:2:12: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  int x = + "foo";
            ^
prog.cpp:2:6: warning: unused variable ‘x’ [-Wunused-variable]
  int x = + "foo";
      ^
stdout
Standard output is empty