Added a test case for #506
This commit is contained in:
parent
5640bead58
commit
ce50ae3212
12
src/test/run-pass/issue-506.rs
Normal file
12
src/test/run-pass/issue-506.rs
Normal file
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user