mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
3a0aecd81e
The zig compiler is way behing on opensuse. I tried building zig from source but encountered many compile errors. I'll wait until opensuse is updated.
18 lines
222 B
Zig
18 lines
222 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() !void {
|
|
|
|
const c: bool = true;
|
|
|
|
var v: bool = false;
|
|
v = true;
|
|
|
|
const inferred = true;
|
|
|
|
var u: bool = undefined;
|
|
u = true;
|
|
|
|
_ = c;
|
|
_ = inferred;
|
|
}
|