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