fork download
  1. struct A {};
  2.  
  3. A operator+(A lhs, const A& rhs)
  4. {
  5. return A();
  6. }
  7.  
  8. int main()
  9. {
  10. A a, b, c;
  11. (a + b) = c;
  12. }
Success #stdin #stdout 0s 2848KB
stdin
Standard input is empty
stdout
Standard output is empty