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


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)];
}