zig/test/cases/adding_numbers_at_runtime_and_comptime.1.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
//