1
Fork 0

Add warning annotations for issue-47094 test

This commit is contained in:
Tomasz Miąsko 2019-11-04 00:00:00 +00:00
parent 0501d8ab0d
commit e8733f7845

View file

@ -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,