zig/test/incremental/adding_numbers_at_runtime_and_comptime.0.zig
Jakub Konka c1a98cd65d test: set case name from initial filename for a sequence
Port more incremental tests.
2022-04-28 18:35:01 +02:00

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
//