aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Frostig <[email protected]>2010-06-28 21:45:48 -0700
committerRoy Frostig <[email protected]>2010-06-28 21:45:48 -0700
commitd5ff6e133c3eb52935cdae155c3ded6fbf2c7837 (patch)
tree087c36dffd1128ed7e43eb78aae032b95b4b324e
parentTestcase (XFAILed) for fn item given as lval. (diff)
downloadrust-d5ff6e133c3eb52935cdae155c3ded6fbf2c7837.tar.xz
rust-d5ff6e133c3eb52935cdae155c3ded6fbf2c7837.zip
Add to generic-obj.rs testcase a method that takes an argument of the object type-param type. XFAIL the test since it no longer passes.
-rw-r--r--src/Makefile1
-rw-r--r--src/test/run-pass/generic-obj.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 188a4139..cda3be53 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 f67fef4f..414aaff4 100644
--- a/src/test/run-pass/generic-obj.rs
+++ b/src/test/run-pass/generic-obj.rs
@@ -10,6 +10,8 @@ obj buf[T](tup(T,T,T) data) {
}
}
}
+
+ fn take(T t) {}
}
fn main() {