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