mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
12 lines
296 B
Rust
12 lines
296 B
Rust
#[link(name = "foo")]
|
|
extern "C" {
|
|
#[link_ordinal(72436)]
|
|
//~^ ERROR ordinal value in `link_ordinal` is too large: `72436`
|
|
fn foo();
|
|
#[link_ordinal(72436)]
|
|
//~^ ERROR ordinal value in `link_ordinal` is too large: `72436`
|
|
static mut imported_variable: i32;
|
|
}
|
|
|
|
fn main() {}
|