#include <iostream> int main() { int a; a = 1; a += 1 += 1; std::cout << a << "\n";}
Standard input is empty
prog.cpp: In function ‘int main()’: prog.cpp:6: error: lvalue required as left operand of assignment
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!