Fix bug in test and un-XFAIL 4 tests now passing on rustc.

This commit is contained in:
Graydon Hoare 2011-02-09 13:19:20 -08:00
parent 71e3ac873a
commit b7dfbc9db0
2 changed files with 5 additions and 1 deletions

View file

@ -474,10 +474,12 @@ TEST_XFAILS_RUSTC := $(filter-out \
fun-indirect-call.rs \
generic-fn.rs \
generic-fn-infer.rs \
generic-exterior-box.rs \
generic-drop-glue.rs \
generic-obj.rs \
generic-tup.rs \
generic-type.rs \
generic-type-synonym.rs \
hello.rs \
int.rs \
i32-sub.rs \
@ -489,6 +491,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
import6.rs \
import7.rs \
import8.rs \
inner-module.rs \
item-name-overload.rs \
large-records.rs \
lazy-init.rs \
@ -505,6 +508,7 @@ TEST_XFAILS_RUSTC := $(filter-out \
opeq.rs \
output-slot-variants.rs \
over-constrained-vregs.rs \
path.rs \
readalias.rs \
rec.rs \
rec-auto.rs \

View file

@ -1,4 +1,4 @@
type foo[T] = tup(T);
type bar[T] = foo[T];
fn takebar[T](bar[T] b) {}
fn takebar[T](&bar[T] b) {}
fn main() {}