Testcase (XFAILed) for mutable alias vec weirdness.

This commit is contained in:
Roy Frostig 2010-06-28 16:36:24 -07:00
parent 66d313d365
commit a27cbd4ee8
2 changed files with 9 additions and 0 deletions

View File

@ -321,6 +321,7 @@ TEST_XFAILS_X86 := test/run-pass/mlist-cycle.rs \
test/run-pass/vec-slice.rs \
test/run-pass/generic-fn-infer.rs \
test/run-pass/generic-recursive-tag.rs \
test/run-pass/mutable-alias-vec.rs \
test/run-pass/mutable-vec-drop.rs \
test/run-pass/bind-obj-ctor.rs \
test/run-pass/task-comm.rs \
@ -384,6 +385,7 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
many.rs \
mlist-cycle.rs \
mlist.rs \
mutable-alias-vec.rs \
mutable-vec-drop.rs \
mutual-recursion-group.rs \
native-mod.rc \

View File

@ -0,0 +1,7 @@
// -*- rust -*-
fn grow(mutable &vec[int] v) {
v += vec(1);
}
fn main() {}