blob: 71e0ac9f3ee4bc7d5578deda7c906f6fc6fcd95d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#![cfg_attr(target_arch = "x86", feature(raw_dylib))]
#[link(name = "foo")]
extern "C" {
#[link_ordinal(3, 4)]
//~^ ERROR incorrect number of arguments to `#[link_ordinal]`
fn foo();
#[link_ordinal(3, 4)]
//~^ ERROR incorrect number of arguments to `#[link_ordinal]`
static mut imported_variable: i32;
}
fn main() {}
|