mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
12 lines
200 B
Zig
12 lines
200 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() void {
|
|
var a: u32 = 10;
|
|
var b: u32 = 3;
|
|
_ = .{ &a, &b };
|
|
const c = @divExact(a, b);
|
|
std.debug.print("value: {}\n", .{c});
|
|
}
|
|
|
|
// exe=fail
|