all: zig fmt and rename "@XToY" to "@YFromX"
Signed-off-by: Eric Joldasov <bratishkaerik@getgoogleoff.me>
This commit is contained in:
committed by
Andrew Kelley
parent
a6c8ee5231
commit
50339f595a
@@ -0,0 +1,10 @@
|
||||
pub export fn entry() void {
|
||||
var y = @ptrFromInt([*]align(4) u8, 5);
|
||||
_ = y;
|
||||
}
|
||||
|
||||
// error
|
||||
// backend=stage2
|
||||
// target=native
|
||||
//
|
||||
// :2:41: error: pointer type '[*]align(4) u8' requires aligned address
|
||||
Reference in New Issue
Block a user