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

7 lines
161 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[mutable @tup(int,int)] pvec =
vec(mutable @tup(1,2), @tup(3,4), @tup(5,6));
2010-06-23 21:03:09 -07:00
}