zig/doc/langref/var_must_be_initialized.zig

8 lines
70 B
Zig
Raw Normal View History

pub fn main() void {
var x: i32;
x = 1;
}
// exe=build_fail