rust/tests/ui/feature-gates/feature-gate-link_cfg.rs
2023-01-11 09:32:08 +00:00

6 lines
84 B
Rust

#[link(name = "foo", cfg(foo))]
//~^ ERROR: is unstable
extern "C" {}
fn main() {}