rust/tests/ui/linkage-attr/issue-109144.rs
2023-03-19 11:23:19 +08:00

5 lines
166 B
Rust

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