about summary refs log tree commit diff
path: root/tests/ui/link-native-libs/issue-43925.rs
blob: e3ce71352c06b68f39d3f9f7d77859c06866ff96 (plain)
1
2
3
4
5
6
#[link(name = "foo", cfg("rlib"))]
//~^ ERROR link cfg is unstable
//~| ERROR `cfg` predicate key must be an identifier
extern "C" {}

fn main() {}