rust/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-invalid-format.rs

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

12 lines
284 B
Rust
Raw Normal View History

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