Box the args entering the vec-drop test.
This commit is contained in:
parent
41fa7a404e
commit
74775eff7e
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user