diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-06-07 20:07:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-07 20:07:28 -0400 |
| commit | 6ff7b437ff34e9a416a041c0c0ff8a65bae8daf5 (patch) | |
| tree | e8be8a2b2a1fa6524bead911f3607941d005d8ee /lib/std/priority_queue.zig | |
| parent | 3cb387338234620e00645417565dc234dc5105c2 (diff) | |
| parent | 413577c881963559f7f357bfd90f4ade6d6de20d (diff) | |
| download | zig-6ff7b437ff34e9a416a041c0c0ff8a65bae8daf5.tar.gz zig-6ff7b437ff34e9a416a041c0c0ff8a65bae8daf5.zip | |
Merge pull request #11813 from Vexu/stage2
`zig2 build test-std` finale
Diffstat (limited to 'lib/std/priority_queue.zig')
| -rw-r--r-- | lib/std/priority_queue.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/priority_queue.zig b/lib/std/priority_queue.zig index ebc13a9974..51671bca78 100644 --- a/lib/std/priority_queue.zig +++ b/lib/std/priority_queue.zig @@ -399,6 +399,7 @@ test "std.PriorityQueue: fromOwnedSlice trivial case 1" { } test "std.PriorityQueue: fromOwnedSlice" { + if (@import("builtin").zig_backend != .stage1) return error.SkipZigTest; const items = [_]u32{ 15, 7, 21, 14, 13, 22, 12, 6, 7, 25, 5, 24, 11, 16, 15, 24, 2, 1 }; const heap_items = try testing.allocator.dupe(u32, items[0..]); var queue = PQlt.fromOwnedSlice(testing.allocator, heap_items[0..], {}); |
