]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_local/glob-extern.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / rustdoc / inline_local / glob-extern.rs
1 #![crate_name = "foo"]
2
3 mod mod1 {
4     extern "C" {
5         pub fn public_fn();
6         fn private_fn();
7     }
8 }
9
10 pub use mod1::*;
11
12 // @has foo/index.html
13 // @!hasraw - "mod1"
14 // @hasraw - "public_fn"
15 // @!hasraw - "private_fn"
16 // @has foo/fn.public_fn.html
17 // @!has foo/fn.private_fn.html
18
19 // @!has foo/mod1/index.html
20 // @has foo/mod1/fn.public_fn.html
21 // @!has foo/mod1/fn.private_fn.html