]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr.rs
Auto merge of #60065 - QuietMisdreavus:async-move-doctests, r=ollie27
[rust.git] / src / test / ui / repr.rs
1 #[repr]
2 //~^ ERROR attribute must be of the form
3 struct _A {}
4
5 #[repr = "B"]
6 //~^ ERROR attribute must be of the form
7 struct _B {}
8
9 #[repr = "C"]
10 //~^ ERROR attribute must be of the form
11 struct _C {}
12
13 #[repr(C)]
14 struct _D {}
15
16 fn main() {}