summary refs log tree commit diff
path: root/src/test/run-pass/mutable-vec-drop.rs
blob: 985464ba2a1aea32cb18069f785492d22e565e57 (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}];
}