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

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