mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-07 17:11:19 -04:00
14 lines
266 B
Zig
14 lines
266 B
Zig
pub export fn entry() void {
|
|
const T = packed struct {
|
|
a: u65535,
|
|
b: u65535,
|
|
};
|
|
@compileLog(@sizeOf(T));
|
|
}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :2:22: error: size of packed struct '131070' exceeds maximum bit width of 65535
|