]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-31769.rs
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / issues / issue-31769.rs
1 fn main() {
2 #[inline] struct Foo; //~ ERROR attribute should be applied to function or closure
3 #[repr(C)] fn foo() {} //~ ERROR attribute should be applied to a struct, enum, or union
4 }