zig/test/cases/adding_numbers_at_runtime_and_comptime.0.zig

11 lines
115 B
Zig
Raw Normal View History

pub fn main() void {
add(3, 4);
}
fn add(a: u32, b: u32) void {
if (a + b != 7) unreachable;
}
// run
//