/* A class with no default constructor */ class foo { foo() { } foo(foo) { } }; fun operator=(foo! me,foo) -> foo! { return me; } /* A struct with a member with no default constructor */ struct bar { foo f; }; fun main() -> int@ { let b = @bar(); let c = @bar(); c = b; return 0; }