call_indirect1.wat 219 B

12345678910
  1. (module
  2. (func $add (result i64)
  3. i64.const 13
  4. )
  5. (table 0 anyfunc)
  6. (func $test (result i64)
  7. i32.const 0 ;; calling $add
  8. call_indirect (type 0) ;; type 0 (the only type used in this function)
  9. )
  10. )