summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-too-large.rs
blob: 9d741630fc9da086f65c7934ca48a2c47568e0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
#[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() {}