summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs
blob: b56ec6e11eafc138dfe8897ef57c64a7aee065d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:issue-99734-aux.rs
// build-aux-docs
// ignore-cross-compile

#![crate_name = "foo"]

#[macro_use]
extern crate issue_99734_aux;

pub use issue_99734_aux::*;

// @count foo/index.html '//a[@class="fn"][@title="fn foo::main"]' 1

extern "C" {
    pub fn main() -> std::ffi::c_int;
}