zig/test/behavior/bugs/1741.zig

7 lines
137 B
Zig
Raw Normal View History

const std = @import("std");
test "fixed" {
const x: f32 align(128) = 12.34;
try std.testing.expect(@ptrToInt(&x) % 128 == 0);
}