mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
12 lines
152 B
Zig
12 lines
152 B
Zig
pub fn main() void {
|
|
mul(3, 4);
|
|
}
|
|
|
|
fn mul(a: u32, b: u32) void {
|
|
if (a * b != 12) unreachable;
|
|
}
|
|
|
|
// run
|
|
// target=x86_64-linux,x86_64-macos
|
|
//
|