diff options
Diffstat (limited to 'test/example/c-api-kitchen-sink.txt')
-rw-r--r-- | test/example/c-api-kitchen-sink.txt | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt index 083fa1ce5..7fa387daa 100644 --- a/test/example/c-api-kitchen-sink.txt +++ b/test/example/c-api-kitchen-sink.txt @@ -1771,20 +1771,14 @@ BinaryenFeatureAll: 8191 (i32.const 0) ) ) - (catch - (local.set $5 - (pop exnref) - ) + (catch $a-event (drop - (block $try-block (result i32) - (rethrow - (br_on_exn $try-block $a-event - (local.get $5) - ) - ) - ) + (pop i32) ) ) + (catch_all + (nop) + ) ) (i32.atomic.store (i32.const 0) |