]> git.proxmox.com Git - rustc.git/blob - tests/rustdoc/ffi.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / rustdoc / ffi.rs
1 // aux-build:rustdoc-ffi.rs
2 // ignore-cross-compile
3
4 extern crate rustdoc_ffi as lib;
5
6 // @has ffi/fn.foreigner.html //pre 'pub unsafe extern "C" fn foreigner(cold_as_ice: u32)'
7 pub use lib::foreigner;
8
9 extern "C" {
10 // @has ffi/fn.another.html //pre 'pub unsafe extern "C" fn another(cold_as_ice: u32)'
11 pub fn another(cold_as_ice: u32);
12 }