#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
export fn entry() void {
    const float: f32 align(@alignOf(i64)) = 5.99999999999994648725e-01;
    const float_ptr = &float;
    const int_ptr: *const i64 = @ptrCast(float_ptr);
    const int_val = int_ptr.*;
    _ = int_val;
}
#}
#update
#check errors {
test.zig:5:28: error: dereference of '*const i64' exceeds bounds of containing decl of type 'f32'
#}
