mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
9 lines
121 B
Zig
9 lines
121 B
Zig
comptime {
|
|
const a: i32 = 1;
|
|
const b: i32 = 0;
|
|
const c = a / b;
|
|
_ = c;
|
|
}
|
|
|
|
// test_error=division by zero
|