Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
doc
langref
mutable_var.zig
pretty
plain
permalink
blame
history
•
11 lines
•
143 B
1
const print = @import("std").debug.print;
2
3
pub fn main() void {
4
var y: i32 = 5678;
5
6
y += 1;
7
8
print("{d}", .{y});
9
}
10
11
// exe=succeed