aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/mutable-vec-drop.rs
blob: ebfb8c6c53fea4f805849067efc5b97f971ef38f (plain) (blame)
1
2
3
4
5
6
fn main() {
  // This just tests whether the vec leaks its members.

  let vec[mutable @tup(int,int)] pvec =
    vec(mutable @tup(1,2), @tup(3,4), @tup(5,6));
}