We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e4c4bc commit 58a8e2fCopy full SHA for 58a8e2f
1 file changed
test/core/exceptions/try_table.wast
@@ -253,6 +253,18 @@
253
(func (export "try-with-param")
254
(i32.const 0) (try_table (param i32) (drop))
255
)
256
+
257
+ (func (export "duplicated-catches") (result i32)
258
+ (block
259
260
+ (try_table (catch $e0 0) (catch $e0 1)
261
+ (throw $e0)
262
+ )
263
264
+ (return (i32.const 2))
265
266
+ (return (i32.const 3))
267
268
269
270
(assert_return (invoke "simple-throw-catch" (i32.const 0)) (i32.const 23))
@@ -312,6 +324,8 @@
312
324
313
325
(assert_return (invoke "try-with-param"))
314
326
327
+(assert_return (invoke "duplicated-catches") (i32.const 2))
328
315
329
(module
316
330
(func $imported-throw (import "test" "throw"))
317
331
(tag $e0)
0 commit comments