summaryrefslogtreecommitdiffstats
path: root/tests/run-make/native-link-modifier-verbatim-linker/main.rs
blob: 71b73a489c76744ad6428c29a710aeb98e863950 (plain)
1
2
3
4
5
6
7
8
9
extern "C" {
    fn local_native_f() -> i32;
}

pub fn main() {
    unsafe {
        assert!(local_native_f() == 0);
    };
}