summaryrefslogtreecommitdiff
path: root/test cases/rust/3 staticlib/stuff2.rs
blob: 5e0167ace38a9efcc05bc387514129adab7e9b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![crate_name = "stuff2"]

extern crate other;

extern "C" {
    fn c_explore_value() -> i32;
}

pub fn explore(
) -> String {
    unsafe {
        other::explore(c_explore_value())
    }
}