aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/lib-task.rs
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-08-24 09:09:04 -0700
committerGraydon Hoare <[email protected]>2010-08-24 09:09:04 -0700
commit14262c73119349fd5452db0811a577febbc77670 (patch)
treed2cdef3e324346c84ed9fb6886ccdae405579084 /src/test/run-pass/lib-task.rs
parentAdd very basic char / str literal handling to rustc lexer. (diff)
downloadrust-14262c73119349fd5452db0811a577febbc77670.tar.xz
rust-14262c73119349fd5452db0811a577febbc77670.zip
Rename lib tests, enable lib-int.rs using _str.eq for now.
Diffstat (limited to 'src/test/run-pass/lib-task.rs')
-rw-r--r--src/test/run-pass/lib-task.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/run-pass/lib-task.rs b/src/test/run-pass/lib-task.rs
new file mode 100644
index 00000000..18499f4e
--- /dev/null
+++ b/src/test/run-pass/lib-task.rs
@@ -0,0 +1,6 @@
+use std;
+import std._task;
+
+fn main() {
+ _task.sleep(1000000u);
+} \ No newline at end of file