summaryrefslogtreecommitdiff
path: root/test/passes/legalize-js-interface-minimally.wast
blob: e820734be268ad2a51348d9e94baec12772394c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(module
  (import "env" "imported" (func $imported (result i64)))
  (import "env" "invoke_vj" (func $invoke_vj (param i64)))
  (export "func" (func $func))
  (export "dynCall_foo" (func $dyn))
  (func $func (result i64)
    (drop (call $imported))
    (call $invoke_vj (i64.const 0))
    (unreachable)
  )
  (func $dyn (result i64)
    (drop (call $imported))
    (unreachable)
  )
)
(module)