summaryrefslogtreecommitdiff
path: root/test/hello_world.wast
blob: ade7bd1ef0de74ff6558f91510aefed47c464ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
(module
 (type $0 (func (param i32 i32) (result i32)))
 (memory $0 256 256)
 (export "add" (func $add))
 (func $add (type $0) (param $x i32) (param $y i32) (result i32)
  (i32.add
   (get_local $x)
   (get_local $y)
  )
 )
)