mirror of
https://github.com/ziglang/zig.git
synced 2024-11-28 16:12:33 +00:00
50339f595a
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
9 lines
148 B
Zig
9 lines
148 B
Zig
pub fn main() void {
|
|
_ = @ptrFromInt(*u8, 0);
|
|
}
|
|
|
|
// error
|
|
// output_mode=Exe
|
|
//
|
|
// :2:24: error: pointer type '*u8' does not allow address zero
|