diff options
| author | Cody Tapscott <topolarity@tapscott.me> | 2022-10-08 11:29:49 -0700 |
|---|---|---|
| committer | Cody Tapscott <topolarity@tapscott.me> | 2022-10-13 12:53:20 -0700 |
| commit | 83e2d3fb3701d77c8177f7b2b164cbd7c790a3ed (patch) | |
| tree | f6e16b6d0405bd9760857435f3c162b464554927 /test/behavior/enum.zig | |
| parent | f5f28e0d2c49d5c62914edf0bff8f1941eef721f (diff) | |
| download | zig-83e2d3fb3701d77c8177f7b2b164cbd7c790a3ed.tar.gz zig-83e2d3fb3701d77c8177f7b2b164cbd7c790a3ed.zip | |
stage1: Skip new tests that never passed in stage1
This gets the behavior tests passing for stage1 again.
Diffstat (limited to 'test/behavior/enum.zig')
| -rw-r--r-- | test/behavior/enum.zig | 7 |
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); -} |
