mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
8 lines
149 B
Zig
8 lines
149 B
Zig
comptime {
|
|
const a: u32 = 10;
|
|
const b: u32 = 3;
|
|
const c = @divExact(a, b);
|
|
_ = c;
|
|
}
|
|
|
|
// test_error=exact division produced remainder
|