rust/src/test/run-pass/bind-native.rs
2011-08-31 16:32:16 +02:00

12 lines
140 B
Rust

/*
Can we bind native things?
*/
//xfail-test
native "rust" mod rustrt {
fn task_yield();
}
fn main() { bind rustrt::task_yield(); }