diff --git a/src/Makefile b/src/Makefile index bd084e0246e..6e014bd28bb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 \ diff --git a/src/test/run-pass/empty-mutable-vec.rs b/src/test/run-pass/empty-mutable-vec.rs new file mode 100644 index 00000000000..a972fda4e53 --- /dev/null +++ b/src/test/run-pass/empty-mutable-vec.rs @@ -0,0 +1,4 @@ +fn main() { + let vec[mutable int] v = vec(mutable); +} +