]> git.lizzy.rs Git - rust.git/blob - src/test/ui/linkage-attr/link-attr-validation-early.rs
Auto merge of #106025 - matthiaskrgr:rollup-vz5rqah, r=matthiaskrgr
[rust.git] / src / test / 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() {}