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

  let vec[mutable @tup(int,int)] pvec =
    // FIXME: vec constructor syntax is slated to change.
    vec[mutable](@tup(1,2), @tup(3,4), @tup(5,6));
}