mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-13 23:46:16 +01:00
9 lines
155 B
Zig
9 lines
155 B
Zig
const U = packed union {
|
|
x: f32,
|
|
y: u8 align(10),
|
|
z: u32,
|
|
};
|
|
|
|
// error
|
|
//
|
|
// :3:17: error: unable to override alignment of packed union fields
|