summary refs log tree commit diff
path: root/src/test/run-pass/invoke-external-native.rs
blob: 6f6e45343136a1a566eb49ad90b9af17c63a0bea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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();
}