summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-link_cfg.rs
blob: d30ee3bcfdb1473db34241ae9317441402df7cb3 (plain)
1
2
3
4
5
#[link(name = "foo", cfg(foo))]
//~^ ERROR: is unstable
extern "C" {}

fn main() {}