mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +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
|
|
//
|