mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
8 lines
126 B
Zig
8 lines
126 B
Zig
pub fn main() void {
|
|
_ = @intToPtr(*u32, 2);
|
|
}
|
|
|
|
// error
|
|
//
|
|
// :2:25: error: pointer type '*u32' requires aligned address
|