summaryrefslogtreecommitdiff
path: root/test/decompile/code-metadata.txt
blob: 1efd9d65b2f4abfa592a176bdc67cef27a1a519a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; TOOL: run-wasm-decompile

(module
  (func $f (param i32) (result i32)
    i32.const 1234
    local.get 0
    (@metadata.code.test "aa\01a") i32.add
    return))

(;; STDOUT ;;;
function f_a(a:int):int {
  let t0 = a;
  // @metadata.code.test "aa\01a";
  return 1234 + t0;
}

;;; STDOUT ;;)