rust/src/test/ui/feature-gates/feature-gate-raw-dylib-2.rs

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

9 lines
164 B
Rust
Raw Normal View History

2020-09-01 16:12:52 -05:00
#[link(name = "foo")]
extern "C" {
2019-09-18 09:40:08 -05:00
#[link_ordinal(42)]
//~^ ERROR: the `#[link_ordinal]` attribute is an experimental feature
fn foo();
}
fn main() {}