https://issues.dlang.org/show_bug.cgi?id=14269

--- Comment #26 from Ketmar Dark <ket...@ketmar.no-ip.org> ---
class C {}

void foo (Object o) {
  o = new Object();
}

void main () {
  C c = new C;
  auto n = c;
  foo(c);
  assert(c == n); // assertion passed
}

--

Reply via email to