mirror of
https://github.com/ziglang/zig.git
synced 2025-12-14 02:03:08 +00:00
11 lines
256 B
Zig
11 lines
256 B
Zig
const std = @import("std");
|
|
const builtin = @import("builtin");
|
|
|
|
test {
|
|
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
|
|
|
|
try std.testing.expect(for ([1]u8{0}) |x| {
|
|
if (x == 0) break true;
|
|
} else false);
|
|
}
|