rust/tests/rustdoc/multiple-foreigns-w-same-name-99734.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
348 B
Rust
Raw Normal View History

//@ aux-build:issue-99734-aux.rs
//@ build-aux-docs
//@ ignore-cross-compile
2024-07-13 00:36:21 +00:00
// 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;
}