]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repr.rs
Move existing `#[linkage]` tests to a subdirectory where I can add more tests.
[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() {}