fork download
  1.  
  2. struct foo {
  3. foo& operator<<(int)
  4. {
  5. return *this;
  6. }
  7. };
  8.  
  9. int main()
  10. {
  11. const foo f = foo() << 1 << 2 << 3;
  12. }
  13.  
Success #stdin #stdout 0.02s 2676KB
stdin
Standard input is empty
stdout
Standard output is empty