mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
9 lines
139 B
Zig
9 lines
139 B
Zig
pub fn main() void {
|
|
var opt_ptr: ?*i32 = null;
|
|
_ = &opt_ptr;
|
|
const ptr: *i32 = @ptrCast(opt_ptr);
|
|
_ = ptr;
|
|
}
|
|
|
|
// exe=fail
|