rust/src/test/run-pass/task-comm-1.rs
2012-02-20 18:58:04 -08:00

9 lines
149 B
Rust

fn main() { test00(); }
fn start() { #debug("Started / Finished task."); }
fn test00() {
task::try {|| start() };
#debug("Completing.");
}