summaryrefslogtreecommitdiff
path: root/test/parse/expr/loop-multi.txt
blob: 8fb343a9dcfc53d0c14a6e1efebc16baada5d7fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; TOOL: wat2wasm
(module
  ;; loop w/ multiple results
  (func
    loop (result i32 i64)
      i32.const 0
      i64.const 0
    end
    return)

  ;; loop w/ params
  (func
    i64.const 0
    loop (param i64) (result i32)
      drop
      i32.const 1
    end
    return)
)