;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func (result i32)
    (try $try1 (result i32)
      (nop)
      (i32.const 7)
      (catch 1
        (i32.const 8)
      )
      (catch_all
        (rethrow $try1)
      )
    )
  )
) 
(;; STDERR ;;;
out/test/exceptions/bad-try.txt:5:6: error: opcode not allowed: try
    (try $try1 (result i32)
     ^^^
out/test/exceptions/bad-try.txt:12:10: error: opcode not allowed: rethrow
        (rethrow $try1)
         ^^^^^^^
;;; STDERR ;;)
