]> git.lizzy.rs Git - rust.git/blob - src/test/run-pass/anon-extern-mod.rs
Auto merge of #61421 - vorner:string-in-rc-into-raw-docs, r=RalfJung
[rust.git] / src / test / run-pass / anon-extern-mod.rs
1 // pretty-expanded FIXME #23616
2 // ignore-wasm32-bare no libc to test ffi with
3
4 #![feature(rustc_private)]
5
6 extern crate libc;
7
8 #[link(name = "rust_test_helpers", kind = "static")]
9 extern {
10     fn rust_get_test_int() -> libc::intptr_t;
11 }
12
13 pub fn main() {
14     unsafe {
15         let _ = rust_get_test_int();
16     }
17 }