;;; TOOL: wat2wasm
;;; ARGS: -r
(module 
  (type (func (param i32)(param i32)(result i32)))
  (func $add (param i32)(param i32)(result i32)
    local.get 0
    local.get 1
    i32.add
    return
  )
  (table 1 funcref)
  (elem (i32.const 0) $add)
  (func $run
    i32.const 4444
    i32.const 5555
    i32.const 0
    ;;call_indirect (type 0) ;; fails
    call_indirect (param i32)(param i32)(result i32)
    drop
  )
  (export "run" (func $run))
)
