]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / ui / repr.rs
1 #[repr] //~ ERROR malformed `repr` attribute
2 struct _A {}
3
4 #[repr = "B"] //~ ERROR malformed `repr` attribute
5 struct _B {}
6
7 #[repr = "C"] //~ ERROR malformed `repr` attribute
8 struct _C {}
9
10 #[repr(C)]
11 struct _D {}
12
13 fn main() {}