summaryrefslogtreecommitdiff
path: root/test/wasm2js/add_div.wast
blob: 5ec09ca01684812e4c2deac28b46e40de1f229de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(module
 (export "foo" (func $foo))
 (func $foo (param $0 i32) (result i32)
  (i32.add
   (i32.div_u
    (local.get $0)
    (i32.const 100)
   )
   (i32.div_s
    (local.get $0)
    (i32.const -100)
   )
  )
 )
)