]> git.proxmox.com Git - rustc.git/blame - src/test/ui/abi/anon-extern-mod.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / abi / anon-extern-mod.rs
CommitLineData
416331ca 1// run-pass
c34b1796 2// pretty-expanded FIXME #23616
abe05a73 3// ignore-wasm32-bare no libc to test ffi with
c34b1796 4
0731742a 5#![feature(rustc_private)]
c34b1796 6
1a4d82fc 7extern crate libc;
970d7e83 8
476ff2be 9#[link(name = "rust_test_helpers", kind = "static")]
5869c6ff 10extern "C" {
1a4d82fc 11 fn rust_get_test_int() -> libc::intptr_t;
223e47cc
LB
12}
13
14pub fn main() {
15 unsafe {
1a4d82fc 16 let _ = rust_get_test_int();
223e47cc
LB
17 }
18}