about summary refs log tree commit diff
path: root/tests/rustdoc/multiple-foreigns-w-same-name-99734.rs
blob: 60a2aa388ee10b1ca288316ba4ad5daebad24643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//@ aux-build:issue-99734-aux.rs
//@ build-aux-docs
//@ ignore-cross-compile

// https://github.com/rust-lang/rust/issues/99734
#![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;
}