]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/ffi.rs
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.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 }