rust/tests/ui/linkage-attr/link-attr-validation-early.rs

9 lines
258 B
Rust
Raw Normal View History

// 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() {}