rust/tests/ui/feature-gates/feature-gate-native_link_mo...

6 lines
145 B
Rust

#[link(name = "foo", kind = "dylib", modifiers = "+as-needed")]
//~^ ERROR: linking modifier `as-needed` is unstable
extern "C" {}
fn main() {}