mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
7 lines
114 B
Zig
7 lines
114 B
Zig
|
comptime {
|
||
|
var byte: u8 = 255;
|
||
|
byte += 1;
|
||
|
}
|
||
|
|
||
|
// test_error=overflow of integer type 'u8' with value '256'
|