summaryrefslogtreecommitdiff
path: root/test/hello_world.fromasm.imprecise.no-opts
blob: 3d2e51b9ccd111891675728054585fdfdd34f7b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(module
 (import "env" "memory" (memory $0 256 256))
 (import "env" "table" (table 0 0 anyfunc))
 (import "env" "memoryBase" (global $memoryBase i32))
 (import "env" "tableBase" (global $tableBase i32))
 (export "add" (func $add))
 (func $add (param $x i32) (param $y i32) (result i32)
  (return
   (i32.add
    (get_local $x)
    (get_local $y)
   )
  )
 )
)