fork(1) download
  1. struct Foo
  2. {
  3. int Bar;
  4. Foo& operator= (int Rhs)
  5. {
  6. this->Bar = Rhs;
  7. return *this;
  8. }
  9. };
  10. Foo F()
  11. {
  12. return Foo();
  13. }
  14. int main()
  15. {
  16. F() = 42;
  17. }
Success #stdin #stdout 0s 3336KB
stdin
Standard input is empty
stdout
Standard output is empty