aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/basic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/basic.rs')
-rw-r--r--src/test/run-pass/basic.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/basic.rs b/src/test/run-pass/basic.rs
index 7495f037..e538d4f2 100644
--- a/src/test/run-pass/basic.rs
+++ b/src/test/run-pass/basic.rs
@@ -1,7 +1,7 @@
// xfail-stage0
// -*- rust -*-
-impure fn a(chan[int] c) {
+fn a(chan[int] c) {
if (true) {
log "task a";
log "task a";
@@ -23,7 +23,7 @@ fn g(int x, str y) -> int {
ret z;
}
-impure fn main() {
+fn main() {
let int n = 2 + 3 * 7;
let str s = "hello there";
let port[int] p = port();
@@ -38,7 +38,7 @@ impure fn main() {
log "children finished, root finishing";
}
-impure fn b(chan[int] c) {
+fn b(chan[int] c) {
if (true) {
log "task b";
log "task b";