about summary refs log tree commit diff
path: root/tests/rustdoc/issue-99734-multiple-foreigns-w-same-name.rs
blob: 9c94fdd91600ede97fa492b4868b12bee4a85b32 (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;
}