// option. This file may not be copied, modified, or distributed
// except according to those terms.
-// error-pattern: failed to find an implementation
-
struct r {
i:int
}
fn main() {
// This can't make sense as it would copy the classes
- let i = ~[r(0)];
- let j = ~[r(1)];
+ let i = vec!(r(0));
+ let j = vec!(r(1));
let k = i + j;
+ //~^ ERROR not implemented
println!("{}", j);
+ //~^ ERROR not implemented
}