mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +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
|