We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1a3e46 commit 805f9b3Copy full SHA for 805f9b3
test/stage1/behavior.zig
@@ -24,6 +24,7 @@ comptime {
24
_ = @import("behavior/bugs/1500.zig");
25
_ = @import("behavior/bugs/1607.zig");
26
_ = @import("behavior/bugs/1735.zig");
27
+ _ = @import("behavior/bugs/1741.zig");
28
_ = @import("behavior/bugs/1851.zig");
29
_ = @import("behavior/bugs/1914.zig");
30
_ = @import("behavior/bugs/2006.zig");
test/stage1/behavior/bugs/1741.zig
@@ -0,0 +1,6 @@
1
+const std = @import("std");
2
+
3
+test "fixed" {
4
+ const x: f32 align(128) = 12.34;
5
+ std.testing.expect(@ptrToInt(&x) % 128 == 0);
6
+}
0 commit comments