Modify testcase to match new syntax and un-XFAIL mutable-vec-drop.rs.
This commit is contained in:
parent
b5e46ac2a0
commit
fe82978980
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,7 @@
|
|||
fn main() {
|
||||
// This just tests whether the vec leaks its members.
|
||||
let vec[mutable @tup(int,int)] pvec = vec(tup(1,2),tup(3,4),tup(5,6));
|
||||
|
||||
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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue