Modify testcase to match new syntax and un-XFAIL mutable-vec-drop.rs.
This commit is contained in:
@@ -360,7 +360,6 @@ TEST_XFAILS_X86 := test/run-pass/bind-obj-ctor.rs \
|
|||||||
test/run-pass/generic-recursive-tag.rs \
|
test/run-pass/generic-recursive-tag.rs \
|
||||||
test/run-pass/iter-ret.rs \
|
test/run-pass/iter-ret.rs \
|
||||||
test/run-pass/mlist-cycle.rs \
|
test/run-pass/mlist-cycle.rs \
|
||||||
test/run-pass/mutable-vec-drop.rs \
|
|
||||||
test/run-pass/obj-as.rs \
|
test/run-pass/obj-as.rs \
|
||||||
test/run-pass/task-comm.rs \
|
test/run-pass/task-comm.rs \
|
||||||
test/run-pass/vec-slice.rs \
|
test/run-pass/vec-slice.rs \
|
||||||
|
|||||||
@@ -1,4 +1,7 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
// This just tests whether the vec leaks its members.
|
// 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));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user