zig/test/cases/wasm-wasi/conditions.0.zig

12 lines
141 B
Zig

pub fn main() u8 {
var i: u8 = 5;
if (i > @as(u8, 4)) {
i += 10;
}
return i - 15;
}
// run
// target=wasm32-wasi
//