]> git.lizzy.rs Git - rust.git/blob - tests/ui/linkage-attr/link-attr-validation-early.rs
Rollup merge of #106726 - cmorin6:fix-comment-typos, r=Nilstrieb
[rust.git] / tests / ui / linkage-attr / link-attr-validation-early.rs
1 // Top-level ill-formed
2 #[link] //~ ERROR attribute must be of the form
3         //~| WARN this was previously accepted
4 #[link = "foo"] //~ ERROR attribute must be of the form
5                 //~| WARN this was previously accepted
6 extern "C" {}
7
8 fn main() {}