int main() { int x = + "foo"; }
Standard input is empty
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"; ^
Standard output is empty