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