Box the args entering the vec-drop test.

This commit is contained in:
Graydon Hoare 2010-07-02 12:32:28 -07:00
parent 41fa7a404e
commit 74775eff7e

View file

@ -1,4 +1,4 @@
fn main() {
// This just tests whether the vec leaks its members.
let vec[@tup(int,int)] pvec = vec(tup(1,2),tup(3,4),tup(5,6));
let vec[@tup(int,int)] pvec = vec(@tup(1,2),@tup(3,4),@tup(5,6));
}