mirror of
https://github.com/ziglang/zig.git
synced 2024-12-17 16:50:13 +00:00
11 lines
214 B
Zig
11 lines
214 B
Zig
const std = @import("std");
|
|
|
|
pub fn main() void {
|
|
var optional_number: ?i32 = null;
|
|
_ = &optional_number;
|
|
const number = optional_number.?;
|
|
std.debug.print("value: {}\n", .{number});
|
|
}
|
|
|
|
// exe=fail
|