mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 08:02:32 +00:00
9 lines
146 B
Zig
9 lines
146 B
Zig
|
pub fn main() void {
|
||
|
_ = @intToPtr(*u8, 0);
|
||
|
}
|
||
|
|
||
|
// error
|
||
|
// output_mode=Exe
|
||
|
//
|
||
|
// :2:24: error: pointer type '*u8' does not allow address zero
|