mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
13 lines
140 B
Zig
13 lines
140 B
Zig
|
pub fn main() void {
|
||
|
if (x - 12 != 0) unreachable;
|
||
|
}
|
||
|
|
||
|
fn mul(a: u32, b: u32) u32 {
|
||
|
return a * b;
|
||
|
}
|
||
|
|
||
|
const x = mul(3, 4);
|
||
|
|
||
|
// run
|
||
|
//
|