mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
14 lines
351 B
Rust
14 lines
351 B
Rust
#![cfg_attr(target_arch = "x86", feature(raw_dylib))]
|
|
|
|
#[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() {}
|