We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18503a commit 267cd03Copy full SHA for 267cd03
[refs]
@@ -1,2 +1,2 @@
1
---
2
-refs/heads/master: c99e110119daa3e5cff1a54424c87e3fa4c9b4c5
+refs/heads/master: ed6f9bb6770fb495120c7c3d7842eadf8a65c9de
trunk/src/test/run-pass/lib-task.rs
@@ -1,10 +1,22 @@
3
// xfail-stage0
4
-// xfail-stage1
5
-// xfail-stage2
6
-// xfail-stage3
+
7
use std;
8
-import std::_task;
+import std::task;
+fn test_sleep() { task::sleep(1000000u); }
9
10
+fn test_unsupervise() {
11
+ fn f() {
12
+ task::unsupervise();
13
+ fail;
14
+ }
15
+ spawn f();
16
+}
17
-fn main() { _task::sleep(1000000u); }
18
+fn main() {
19
+ // FIXME: Why aren't we running this?
20
+ //test_sleep();
21
+ test_unsupervise();
22
0 commit comments