aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/maximum_minimum.zig
diff options
context:
space:
mode:
authorDavid Rubin <daviru007@icloud.com>2024-04-16 22:44:55 -0700
committerDavid Rubin <daviru007@icloud.com>2024-05-11 02:17:24 -0700
commitffb63a05a3327e64bcf8ec7fd05c6aab8d304480 (patch)
tree5284c825f8126f35d756599f524a2f612620ddd4 /test/behavior/maximum_minimum.zig
parent2fd83d8c0a8dd28c2474b26ead8cb24d6bde0901 (diff)
downloadzig-ffb63a05a3327e64bcf8ec7fd05c6aab8d304480.tar.gz
zig-ffb63a05a3327e64bcf8ec7fd05c6aab8d304480.zip
riscv: finally fix bug + `airAggregateInit`
i just hadn't realized that I placed the `riscv_start` branch in the non-simplified starts
Diffstat (limited to 'test/behavior/maximum_minimum.zig')
-rw-r--r--test/behavior/maximum_minimum.zig6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/behavior/maximum_minimum.zig b/test/behavior/maximum_minimum.zig
index 54973a8b3f..d08bc82828 100644
--- a/test/behavior/maximum_minimum.zig
+++ b/test/behavior/maximum_minimum.zig
@@ -160,8 +160,6 @@ test "@min/@max on lazy values" {
}
test "@min/@max more than two arguments" {
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
-
const x: u32 = 30;
const y: u32 = 10;
const z: u32 = 20;
@@ -187,7 +185,6 @@ test "@min/@max notices bounds" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
var x: u16 = 20;
const y = 30;
@@ -239,7 +236,6 @@ test "@min/@max notices bounds from types" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
var x: u16 = 123;
var y: u32 = 456;
@@ -325,8 +321,6 @@ test "@min/@max notices bounds from vector types when element of comptime-known
}
test "@min/@max of signed and unsigned runtime integers" {
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
-
var x: i32 = -1;
var y: u31 = 1;
_ = .{ &x, &y };