mirror of
https://github.com/ziglang/zig.git
synced 2024-11-14 16:13:24 +00:00
12 lines
189 B
Zig
12 lines
189 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() void {
|
|
var a: u32 = 1;
|
|
var b: u32 = 0;
|
|
_ = .{ &a, &b };
|
|
const c = a / b;
|
|
std.debug.print("value: {}\n", .{c});
|
|
}
|
|
|
|
// exe=fail
|