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

7 lines
147 B
Rust
Raw Normal View History

2010-06-23 21:03:09 -07: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)];
}