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

6 lines
185 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 @rec(int a, int b)] pvec =
[mutable @rec(a=1, b=2), @rec(a=3, b=4), @rec(a=5, b=6)];
}