aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/obj-dtor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/obj-dtor.rs')
-rw-r--r--src/test/run-pass/obj-dtor.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/obj-dtor.rs b/src/test/run-pass/obj-dtor.rs
index 389675da..3d633e72 100644
--- a/src/test/run-pass/obj-dtor.rs
+++ b/src/test/run-pass/obj-dtor.rs
@@ -6,7 +6,7 @@ obj worker(chan[int] c) {
}
}
-impure fn do_work(chan[int] c) {
+fn do_work(chan[int] c) {
log "in child task";
{
let worker w = worker(c);
@@ -21,7 +21,7 @@ impure fn do_work(chan[int] c) {
}
}
-impure fn main() {
+fn main() {
let port[int] p = port();
log "spawning worker";
auto w = spawn do_work(chan(p));