mirror of
https://github.com/ziglang/zig.git
synced 2026-01-10 01:15:14 +00:00
And fix test cases to make them pass. This is in preparation for starting to pass behavior tests with self-hosted.
7 lines
133 B
Zig
7 lines
133 B
Zig
const std = @import("std");
|
|
|
|
test "fixed" {
|
|
const x: f32 align(128) = 12.34;
|
|
std.testing.expect(@ptrToInt(&x) % 128 == 0);
|
|
}
|