about summary refs log tree commit diff
path: root/src/test/run-pass/bind-native.rs
blob: dddbf575d8075b6071ba0795091306443cc5c012 (plain)
1
2
3
4
5
6
7
8
9
10
/*
Can we bind native things?
*/

#[abi = "cdecl"]
native mod rustrt {
    fn pin_task();
}

fn main() { bind rustrt::pin_task(); }