Add a test case for empty mutable vector literals, XFAIL'd in rustboot
This commit is contained in:
parent
b33f0df152
commit
804771510e
|
@ -456,6 +456,7 @@ TEST_XFAILS_BOOT := $(TASK_XFAILS) \
|
|||
test/run-pass/obj-as.rs \
|
||||
test/run-pass/vec-slice.rs \
|
||||
test/run-pass/fn-lval.rs \
|
||||
test/run-pass/empty-mutable-vec.rs \
|
||||
test/run-pass/generic-bind-2.rs \
|
||||
test/run-pass/generic-fn-box.rs \
|
||||
test/run-pass/generic-tup.rs \
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
fn main() {
|
||||
let vec[mutable int] v = vec(mutable);
|
||||
}
|
||||
|
Loading…
Reference in New Issue