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

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