diff --git a/src/Makefile b/src/Makefile index 188a413948b..cda3be5364e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -321,6 +321,7 @@ TEST_XFAILS_X86 := test/run-pass/mlist-cycle.rs \ test/run-pass/vec-slice.rs \ test/run-pass/fn-lval.rs \ test/run-pass/generic-fn-infer.rs \ + test/run-pass/generic-obj.rs \ test/run-pass/generic-recursive-tag.rs \ test/run-pass/mutable-alias-vec.rs \ test/run-pass/mutable-vec-drop.rs \ diff --git a/src/test/run-pass/generic-obj.rs b/src/test/run-pass/generic-obj.rs index f67fef4fe10..414aaff46a2 100644 --- a/src/test/run-pass/generic-obj.rs +++ b/src/test/run-pass/generic-obj.rs @@ -10,6 +10,8 @@ fn get(int i) -> T { } } } + + fn take(T t) {} } fn main() {