summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2627-raw-dylib/link-ordinal-invalid-format.rs
blob: 135f5909ea130001a79895c5492d97dffd5df9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![feature(raw_dylib)]
//~^ WARN the feature `raw_dylib` is incomplete

#[link(name = "foo")]
extern "C" {
    #[link_ordinal("JustMonika")]
    //~^ ERROR illegal ordinal format in `link_ordinal`
    fn foo();
}

fn main() {}