mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
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;
|
||
|
|
}
|