rust/src/test/run-pass/generic-ivec-leak.rs

11 lines
110 B
Rust
Raw Normal View History

// xfail-stage0
tag wrapper[T] {
wrapped(T);
}
fn main() {
auto w = wrapped(~[ 1, 2, 3, 4, 5 ]);
}