summary refs log tree commit diff
path: root/src/test/run-pass/invoke-external-foreign.rs
blob: 72be0d0a3533fcb1590cc14f39c3e30238f2a1e2 (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.

use foreign_lib;

fn main() {
    let foo = foreign_lib::rustrt::last_os_error();
}