diff options
| author | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-04-19 13:35:49 -0700 |
| commit | d2bd07dcb02783063375b6c8532fceaf9fa9d50f (patch) | |
| tree | a253b5eadb140d14bc99d1456e316ce1e210a6be /src/test/run-pass/task-comm-15.rs | |
| parent | rustc: Allow glue to be emitted even for scalar types; this is necessary to s... (diff) | |
| download | rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.tar.xz rust-d2bd07dcb02783063375b6c8532fceaf9fa9d50f.zip | |
Remove effect system from src.
Diffstat (limited to 'src/test/run-pass/task-comm-15.rs')
| -rw-r--r-- | src/test/run-pass/task-comm-15.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/task-comm-15.rs b/src/test/run-pass/task-comm-15.rs index 1eee1a09..197c6005 100644 --- a/src/test/run-pass/task-comm-15.rs +++ b/src/test/run-pass/task-comm-15.rs @@ -1,6 +1,6 @@ // xfail-boot // xfail-stage0 -impure fn start(chan[int] c, int n) { +fn start(chan[int] c, int n) { let int i = n; while(i > 0) { @@ -9,7 +9,7 @@ impure fn start(chan[int] c, int n) { } } -impure fn main() { +fn main() { let port[int] p = port(); // Spawn a task that sends us back messages. The parent task // is likely to terminate before the child completes, so from |