aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/addoti4_test.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler_rt/addoti4_test.zig')
-rw-r--r--lib/compiler_rt/addoti4_test.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/compiler_rt/addoti4_test.zig b/lib/compiler_rt/addoti4_test.zig
index dc85830df9..d031d1d428 100644
--- a/lib/compiler_rt/addoti4_test.zig
+++ b/lib/compiler_rt/addoti4_test.zig
@@ -1,4 +1,5 @@
const addv = @import("addo.zig");
+const builtin = @import("builtin");
const std = @import("std");
const testing = std.testing;
const math = std.math;
@@ -23,6 +24,8 @@ fn simple_addoti4(a: i128, b: i128, overflow: *c_int) i128 {
}
test "addoti4" {
+ if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
+
const min: i128 = math.minInt(i128);
const max: i128 = math.maxInt(i128);
var i: i128 = 1;