12 lines
280 B
Rust
12 lines
280 B
Rust
#[link(name = "foo")]
|
|
extern "C" {
|
|
#[link_ordinal()]
|
|
//~^ ERROR incorrect number of arguments to `#[link_ordinal]`
|
|
fn foo();
|
|
#[link_ordinal()]
|
|
//~^ ERROR incorrect number of arguments to `#[link_ordinal]`
|
|
static mut imported_variable: i32;
|
|
}
|
|
|
|
fn main() {}
|