]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/abi/extern/extern-return-TwoU16s.rs
2 #![allow(improper_ctypes)]
4 // ignore-wasm32-bare no libc to test ffi with
11 #[link(name = "rust_test_helpers", kind = "static")]
13 pub fn rust_dbg_extern_return_TwoU16s() -> TwoU16s
;
18 let y
= rust_dbg_extern_return_TwoU16s();
19 assert_eq
!(y
.one
, 10);
20 assert_eq
!(y
.two
, 20);