about summary refs log tree commit diff
path: root/src/test/run-pass/vec-drop.rs
blob: 499b24d43f09056f6b5eb2e22701217e8eb396c8 (plain)
1
2
3
4
5
6
7
8
fn main() {
    // This just tests whether the vec leaks its members.

    let pvec: [@{x: int, y: int}] =
        [@{x: 1, y: 2}, @{x: 3, y: 4}, @{x: 5, y: 6}];
}