blob: 2a15b1d799f846fc7379d8d28ec7a4c84d46a63c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// only-windows
#![feature(raw_dylib)]
//~^ WARN the feature `raw_dylib` is incomplete
#[link(name = "foo", kind = "raw-dylib")]
extern "C" {
#[link_ordinal(1)] //~ ERROR multiple `link_ordinal` attributes
#[link_ordinal(2)]
fn foo();
}
fn main() {}
|