aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-01-31 21:24:37 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-02-01 11:21:23 -0700
commit970f954039ae91ffae51b71f408f1f787aadc98a (patch)
tree9ba8fc7d7a11ed8c294485b7f7b802679cca9cca /test/behavior/math.zig
parent3e99495ed8d2a384501338edb4885e709d51bf74 (diff)
downloadzig-970f954039ae91ffae51b71f408f1f787aadc98a.tar.gz
zig-970f954039ae91ffae51b71f408f1f787aadc98a.zip
stage2: cmp_eq between untyped undefines values results in undef bool
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 88f1b458ae..77820ac0fb 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -1024,8 +1024,6 @@ test "vector comparison" {
}
test "compare undefined literal with comptime_int" {
- if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO
-
var x = undefined == 1;
// x is now undefined with type bool
x = true;