about summary refs log tree commit diff
path: root/tests/ui/linking/rlib-to-dylib-native-deps-inclusion-25185.rs
blob: bbcfcb75106f648f4d88207a0599c0578e6c3f17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// https://github.com/rust-lang/rust/issues/25185
//@ run-pass
//@ aux-build:aux-25185-1.rs
//@ aux-build:aux-25185-2.rs

extern crate aux_25185_2;

fn main() {
    let x = unsafe {
        aux_25185_2::rust_dbg_extern_identity_u32(1)
    };
    assert_eq!(x, 1);
}