mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +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'
|