]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/ffi.rs
Auto merge of #99796 - compiler-errors:issue-53475, r=oli-obk
[rust.git] / src / test / 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 }