zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

runtime_overflow.zig (149B) - Raw


      1 const std = @import("std");
      2 
      3 pub fn main() void {
      4     var byte: u8 = 255;
      5     byte += 1;
      6     std.debug.print("value: {}\n", .{byte});
      7 }
      8 
      9 // exe=fail