Skip to content

Commit

Permalink
Added a test case for #506
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Holk committed Jun 20, 2011
1 parent 5640bea commit ce50ae3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/test/run-pass/issue-506.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/*
A reduced test case for Issue #506, provided by Rob Arnold.
*/

native "rust" mod rustrt {
fn task_yield();
}

fn main() {
spawn rustrt::task_yield();
}

0 comments on commit ce50ae3

Please sign in to comment.