Un-XFAIL 7 tests that have begun working on rustc lately. Fix one bug in mlist.rs.

This commit is contained in:
Graydon Hoare 2011-01-21 15:56:42 -08:00
parent 90e329da6b
commit b361b1ee8c
2 changed files with 9 additions and 2 deletions

View file

@ -440,6 +440,9 @@ TEST_XFAILS_RUSTC := $(filter-out \
drop-bind-thunk-args.rs \
drop-on-ret.rs \
fact.rs \
fn-lval.rs \
fun-call-variants.rs \
fun-indirect-call.rs \
generic-fn-infer.rs \
generic-drop-glue.rs \
generic-tup.rs \
@ -453,17 +456,21 @@ TEST_XFAILS_RUSTC := $(filter-out \
import5.rs \
import6.rs \
import7.rs \
integral-indexing.rs \
item-name-overload.rs \
large-records.rs \
lazy-init.rs \
lazy-and-or.rs \
linear-for-loop.rs \
multiline-comment.rs \
mutual-recursion-group.rs \
obj-drop.rs \
obj-recursion.rs \
obj-with-vec.rs \
operator-associativity.rs \
opeq.rs \
output-slot-variants.rs \
over-constrained-vregs.rs \
readalias.rs \
rec.rs \
rec-auto.rs \

View file

@ -2,9 +2,9 @@
tag mlist {
cons(int,mutable @mlist);
nil();
nil;
}
fn main() {
cons(10, @cons(11, @cons(12, @nil())));
cons(10, @cons(11, @cons(12, @nil)));
}