aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/many.rs
diff options
context:
space:
mode:
authorBrian Anderson <[email protected]>2011-01-07 01:39:58 -0500
committerBrian Anderson <[email protected]>2011-01-30 15:55:27 -0500
commita2789363e107114fdc0ff45a208ae67a56bce73a (patch)
treed64f47d05cadf737dc5eaeb817c3c258b043195a /src/test/run-pass/many.rs
parentFix a bug in linearize and get the captured tydescs type right. (diff)
downloadrust-a2789363e107114fdc0ff45a208ae67a56bce73a.tar.xz
rust-a2789363e107114fdc0ff45a208ae67a56bce73a.zip
Reenable xfailed tests for rustboot that pass with trivial or no modifications
Diffstat (limited to 'src/test/run-pass/many.rs')
-rw-r--r--src/test/run-pass/many.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/many.rs b/src/test/run-pass/many.rs
index e300312c..2c3d6425 100644
--- a/src/test/run-pass/many.rs
+++ b/src/test/run-pass/many.rs
@@ -1,6 +1,6 @@
// -*- rust -*-
-io fn sub(chan[int] parent, int id) {
+impure fn sub(chan[int] parent, int id) {
if (id == 0) {
parent <| 0;
} else {
@@ -11,7 +11,7 @@ io fn sub(chan[int] parent, int id) {
}
}
-io fn main() {
+impure fn main() {
let port[int] p = port();
auto child = spawn sub(chan(p), 500);
let int y <- p;