mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
12 lines
284 B
Rust
12 lines
284 B
Rust
#[link(name = "foo")]
|
|
extern "C" {
|
|
#[link_ordinal("JustMonika")]
|
|
//~^ ERROR illegal ordinal format in `link_ordinal`
|
|
fn foo();
|
|
#[link_ordinal("JustMonika")]
|
|
//~^ ERROR illegal ordinal format in `link_ordinal`
|
|
static mut imported_variable: i32;
|
|
}
|
|
|
|
fn main() {}
|