aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/run-pass/acyclic-unwind.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/run-pass/acyclic-unwind.rs b/src/test/run-pass/acyclic-unwind.rs
index c9ed2ae3..38de9082 100644
--- a/src/test/run-pass/acyclic-unwind.rs
+++ b/src/test/run-pass/acyclic-unwind.rs
@@ -13,6 +13,11 @@ io fn f(chan[int] c)
while (true) {
// spin waiting for the parent to kill us.
log "child waiting to die...";
+
+ // while waiting to die, the messages we are
+ // sending to the channel are never received
+ // by the parent, therefore this test cases drops
+ // messages on the floor
c <| 1;
}
}