Add warning annotations for issue-47094 test
This commit is contained in:
parent
0501d8ab0d
commit
e8733f7845
1 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,12 @@
|
|||
// check-pass
|
||||
|
||||
#[repr(C,u8)]
|
||||
#[repr(C,u8)] //~ WARNING conflicting representation hints
|
||||
enum Foo {
|
||||
A,
|
||||
B,
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[repr(C)] //~ WARNING conflicting representation hints
|
||||
#[repr(u8)]
|
||||
enum Bar {
|
||||
A,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue