Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/async/trap-if-done.wast
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,8 @@
(if (i32.ne (i32.const 42) (i32.load (i32.const 16)))
(then unreachable))

(call $waitable.join (local.get $fr) (i32.const 0))

(if (i32.eqz (local.get $bool)) (then
;; calling future.read again should then trap
(drop (call $future.read (local.get $fr) (i32.const 16)))
Expand Down
Loading