summary refs log tree commit diff
path: root/src/test/run-pass/mutable-vec-drop.rs
blob: 2b1433d8a65aa7d83ce6556d9913a6fd8f58bd34 (plain)
1
2
3
4
5
6

fn main() {
    // This just tests whether the vec leaks its members.
    let pvec: [mut @{a: int, b: int}] =
        [mut @{a: 1, b: 2}, @{a: 3, b: 4}, @{a: 5, b: 6}];
}