mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 03:17:08 +03:00
c1a98cd65d
Port more incremental tests.
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
|
|
//
|