This is just a temporary fix - I would like to unify all of x86_64 tests across linux and macos OSes.
10 lines
127 B
Zig
10 lines
127 B
Zig
pub fn main() void {
|
|
const a: u32 = 2;
|
|
const b: ?u32 = a;
|
|
const c = b.?;
|
|
if (c != 2) unreachable;
|
|
}
|
|
|
|
// run
|
|
//
|