aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/enum.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-10-15 10:05:00 -0400
committerGitHub <noreply@github.com>2022-10-15 10:05:00 -0400
commitb4e3424594aecbd5a038d7c3a9e1e01c66a239ee (patch)
treee5dfde6fa751626cd9e0ba6bf36bbd0bb9789fa1 /test/behavior/enum.zig
parent8bb2e96ac3b61a8aa393f250144fb9e1195ca60a (diff)
parenta168893e0097093665154c7897b7f909cec855a1 (diff)
downloadzig-b4e3424594aecbd5a038d7c3a9e1e01c66a239ee.tar.gz
zig-b4e3424594aecbd5a038d7c3a9e1e01c66a239ee.zip
Merge pull request #13100 from topolarity/powerpc64le
stage2: Fix softfloat support for PPC64(LE)
Diffstat (limited to 'test/behavior/enum.zig')
-rw-r--r--test/behavior/enum.zig7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig
index 114090c78e..5cb89ffa32 100644
--- a/test/behavior/enum.zig
+++ b/test/behavior/enum.zig
@@ -1169,10 +1169,3 @@ test "Non-exhaustive enum with nonstandard int size behaves correctly" {
const E = enum(u15) { _ };
try expect(@sizeOf(E) == @sizeOf(u15));
}
-
-test "Non-exhaustive enum backed by comptime_int" {
- const E = enum(comptime_int) { a, b, c, _ };
- comptime var e: E = .a;
- e = @intToEnum(E, 378089457309184723749);
- try expect(@enumToInt(e) == 378089457309184723749);
-}