0
0
mirror of https://github.com/rust-lang/rust.git synced 2024-11-28 21:12:18 +01:00
rust/tests/rustdoc/multiple-foreigns-w-same-name-99734.rs

18 lines
348 B
Rust

//@ 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;
}