rust/tests/ui/linkage-attr/link-attr-validation-early.rs
2023-01-11 09:32:08 +00:00

9 lines
258 B
Rust

// Top-level ill-formed
#[link] //~ ERROR attribute must be of the form
//~| WARN this was previously accepted
#[link = "foo"] //~ ERROR attribute must be of the form
//~| WARN this was previously accepted
extern "C" {}
fn main() {}