zig/test/cases/optionals.2.zig

8 lines
72 B
Zig
Raw Normal View History

2022-04-27 21:59:55 +01:00
pub fn main() u8 {
var x: ?u8 = 5;
return x.? - 5;
}
// run
//