| 1 | comptime { |
| 2 | _ = *align(1:32:4) u8; |
| 3 | } |
| 4 | comptime { |
| 5 | _ = *align(1:25:4) u8; |
| 6 | } |
| 7 | |
| 8 | // error |
| 9 | // |
| 10 | // :2:18: error: packed type 'u8' at bit offset 32 starts 0 bits after the end of a 4 byte host integer |
| 11 | // :5:18: error: packed type 'u8' at bit offset 25 ends 1 bits after the end of a 4 byte host integer |