mirror of
https://github.com/ziglang/zig.git
synced 2024-12-03 10:28:48 +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
|
|
//
|