mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
typo
This commit is contained in:
parent
30ed91b7b9
commit
68fe391de0
@ -252,7 +252,7 @@ test "array coersion to undefined at runtime" {
|
||||
@setRuntimeSafety(true);
|
||||
|
||||
// setRuntimeSafety isn't recognized on stage2
|
||||
if (@import("builtin").zig_is_stage2 and (@import("builtin").mode != .Debug or @import("builtin").mode != .ReleaseSafe)) return error.SkipZigTest;
|
||||
if (@import("builtin").zig_is_stage2 and @import("builtin").mode != .Debug and @import("builtin").mode != .ReleaseSafe) return error.SkipZigTest;
|
||||
|
||||
var array = [4]u8{ 3, 4, 5, 6 };
|
||||
var undefined_val = [4]u8{ 0xAA, 0xAA, 0xAA, 0xAA };
|
||||
|
||||
@ -21,7 +21,7 @@ test "undefined 128 bit int" {
|
||||
@setRuntimeSafety(true);
|
||||
|
||||
// setRuntimeSafety isn't recognized on stage2
|
||||
if (@import("builtin").zig_is_stage2 and (@import("builtin").mode != .Debug or @import("builtin").mode != .ReleaseSafe)) return error.SkipZigTest;
|
||||
if (@import("builtin").zig_is_stage2 and @import("builtin").mode != .Debug and @import("builtin").mode != .ReleaseSafe) return error.SkipZigTest;
|
||||
|
||||
var undef: u128 = undefined;
|
||||
var undef_signed: i128 = undefined;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user