about summary refs log tree commit diff
path: root/src/test/run-pass/invoke-external-native.rs
blob: d337f3c0942e39b67263694a6cc659782e8bb155 (plain)
1
2
3
4
5
6
7
8
9
10
use std;
import sys;

// The purpose of this test is to check that we can
// successfully (and safely) invoke external, cdecl
// functions from outside the crate.

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