aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass
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 /src/test/run-pass
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.
Diffstat (limited to 'src/test/run-pass')
-rw-r--r--src/test/run-pass/generic-obj.rs2
1 files changed, 2 insertions, 0 deletions
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() {