Files
rust/tests/ui/linkage-attr/raw-dylib/windows/link-ordinal-too-large.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
296 B
Rust
Raw Normal View History

2020-09-01 17:12:52 -04:00
#[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() {}