aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-fail
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-09-07 18:01:35 -0700
committerMichael Bebenita <[email protected]>2010-09-07 18:41:07 -0700
commit79e3856d7d4e159eae84093c6b5b5009b121cd8c (patch)
tree862f752a2dfdf613faf59ae919f528f860d15a7e /src/test/run-fail
parentAdded a few utility classes, cleaned up the include order of .h files, and st... (diff)
downloadrust-79e3856d7d4e159eae84093c6b5b5009b121cd8c.tar.xz
rust-79e3856d7d4e159eae84093c6b5b5009b121cd8c.zip
Small updates to test cases.
Diffstat (limited to 'src/test/run-fail')
-rw-r--r--src/test/run-fail/task-comm-14.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-fail/task-comm-14.rs b/src/test/run-fail/task-comm-14.rs
index f5fa27ac..786f7428 100644
--- a/src/test/run-fail/task-comm-14.rs
+++ b/src/test/run-fail/task-comm-14.rs
@@ -9,6 +9,9 @@ io fn main() {
i = i - 1;
}
+ // Spawned tasks are likely killed before they get a chance to send
+ // anything back, so we deadlock here.
+
i = 10;
let int value = 0;
while (i > 0) {