]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-47094.rs
Auto merge of #107044 - cuviper:more-llvm-ci, r=Mark-Simulacrum
[rust.git] / tests / ui / issues / issue-47094.rs
1 #[repr(C, u8)] //~ ERROR conflicting representation hints
2 //~^ WARN this was previously accepted
3 enum Foo {
4     A,
5     B,
6 }
7
8 #[repr(C)] //~ ERROR conflicting representation hints
9 //~^ WARN this was previously accepted
10 #[repr(u8)]
11 enum Bar {
12     A,
13     B,
14 }
15
16 fn main() {}