13 #[repr(C, u64)] //~ ERROR conflicting representation hints
14 //~^ WARN this was previously accepted
19 #[repr(u32, u64)] //~ ERROR conflicting representation hints
20 //~^ WARN this was previously accepted
28 #[repr(packed, align(8))]
29 struct F(i32); //~ ERROR type has conflicting packed and align representation hints
33 struct G(i32); //~ ERROR type has conflicting packed and align representation hints
37 struct H(i32); //~ ERROR type has conflicting packed and align representation hints
39 #[repr(packed, packed(2))]
40 struct I(i32); //~ ERROR type has conflicting packed representation hints
44 struct J(i32); //~ ERROR type has conflicting packed representation hints
46 #[repr(packed, packed(1))]
49 #[repr(packed, align(8))]
51 //~^ ERROR type has conflicting packed and align representation hints
58 //~^ ERROR type has conflicting packed and align representation hints
65 //~^ ERROR type has conflicting packed and align representation hints
69 #[repr(packed, align(0x100))]
70 pub struct S(u16); //~ ERROR type has conflicting packed and align representation hints
72 #[repr(packed, align(0x100))]
73 pub union U { //~ ERROR type has conflicting packed and align representation hints
77 static B: U = U { u: 0 };