rust/tests/ui/link-native-libs/issue-43926.rs

5 lines
114 B
Rust

#[link(name = "foo", cfg())] //~ ERROR link cfg must have a single predicate argument
extern "C" {}
fn main() {}