fork download
  1. struct foo {
  2. foo& operator++(int) {return *this;}
  3. friend foo operator+(foo l, foo r) {return l;}
  4. };
  5.  
  6. int main() {
  7. foo i;
  8. i+++++++++++++++++++++++++++++++++i;
  9. }
Success #stdin #stdout 0s 2880KB
stdin
Standard input is empty
stdout
Standard output is empty