blob: 383c9a1e9c4ab9aeffea22f98970fa0b6e76628c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// run-pass
// aux-build:issue-25185-1.rs
// aux-build:issue-25185-2.rs
// ignore-wasm32-bare no libc for ffi testing
extern crate issue_25185_2;
fn main() {
let x = unsafe {
issue_25185_2::rust_dbg_extern_identity_u32(1)
};
assert_eq!(x, 1);
}
|