;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  ;; flat
  (func
    try
      nop
    catch_all
      nop
    catch_all
      nop
    end)

  ;; folded
  (func
    (try
      (do
        (nop))
      (catch_all
        (nop))
      (catch_all
        (nop))))
(;; STDERR ;;;
out/test/parse/expr/bad-try-multiple-catch.txt:10:5: error: multiple catch_all clauses not allowed
    catch_all
    ^^^^^^^^^
out/test/parse/expr/bad-try-multiple-catch.txt:21:8: error: multiple catch_all clauses not allowed
      (catch_all
       ^^^^^^^^^
;;; STDERR ;;)
