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

5 lines
169 B
Rust

#![crate_type = "lib"]
#[link(kind = "static", modifiers = "+whole-archive,+bundle")]
//~^ ERROR `#[link]` attribute requires a `name = "string"` argument
extern "C" {}