blob: a054077ad26c06d421d2a972018100e16696eeda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// xfail-fast
// aux-build:foreign_lib.rs
// The purpose of this test is to check that we can
// successfully (and safely) invoke external, cdecl
// functions from outside the crate.
extern mod foreign_lib;
fn main() {
let foo = foreign_lib::rustrt::last_os_error();
}
|