Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
compile_errors
packed_union_alignment_override.zig
pretty
plain
permalink
blame
history
•
9 lines
•
155 B
1
const U = packed union {
2
x: f32,
3
y: u8 align(10),
4
z: u32,
5
};
6
7
// error
8
//
9
// :3:17: error: unable to override alignment of packed union fields