summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-64153/upstream.rs
blob: 861a00298ea3963d396193c1312703d8a5994f9a (plain)
1
2
3
4
5
6
// Make this function extern "C", public, and no-mangle, so that it gets
// exported from the downstream staticlib.
#[no_mangle]
pub extern "C" fn issue64153_test_function(x: u32) -> u32 {
    x + 1
}