rust/src/test/run-pass/vec-drop.rs

5 lines
135 B
Rust
Raw Normal View History

2010-06-23 23:03:09 -05:00
fn main() {
// This just tests whether the vec leaks its members.
let vec[@tup(int,int)] pvec = [@tup(1,2),@tup(3,4),@tup(5,6)];
2010-06-23 23:03:09 -05:00
}