rust/src/test/run-pass/invoke-external-native.rs
2012-03-10 00:35:02 -08:00

13 lines
266 B
Rust

// xfail-fast
// aux-build:native_lib.rs
// The purpose of this test is to check that we can
// successfully (and safely) invoke external, cdecl
// functions from outside the crate.
use native_lib;
fn main() {
let foo = native_lib::rustrt::last_os_error();
}