rust/src/test/run-pass/generic-ivec-leak.rs
2011-08-16 15:05:56 -07:00

5 lines
82 B
Rust

tag wrapper<T> { wrapped(T); }
fn main() { let w = wrapped(~[1, 2, 3, 4, 5]); }