mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
8 lines
144 B
Zig
8 lines
144 B
Zig
comptime {
|
|
const optional_number: ?i32 = null;
|
|
const number = optional_number.?;
|
|
_ = number;
|
|
}
|
|
|
|
// test_error=unable to unwrap null
|