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-7.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-7.rs')
| -rw-r--r-- | src/test/run-pass/task-comm-7.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/task-comm-7.rs b/src/test/run-pass/task-comm-7.rs index 599d2d83..b5b95db9 100644 --- a/src/test/run-pass/task-comm-7.rs +++ b/src/test/run-pass/task-comm-7.rs @@ -1,9 +1,9 @@ // xfail-stage0 -impure fn main() -> () { +fn main() -> () { test00(); } -impure fn test00_start(chan[int] c, int start, int number_of_messages) { +fn test00_start(chan[int] c, int start, int number_of_messages) { let int i = 0; while (i < number_of_messages) { c <| start + i; @@ -11,7 +11,7 @@ impure fn test00_start(chan[int] c, int start, int number_of_messages) { } } -impure fn test00() { +fn test00() { let int r = 0; let int sum = 0; let port[int] p = port(); |