summaryrefslogtreecommitdiff
path: root/test/metadce/corners.wast.dced
blob: c6d5d7e74adb3ec9394539d973701bd206d0d32a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
(module
 (type $none_=>_none (func))
 (import "env" "table" (table $timport$0 10 10 funcref))
 (import "env" "STACKTOP" (global $STACKTOP$asm2wasm$import i32))
 (import "env" "imported_twice" (func $imported_twice_a (type $none_=>_none)))
 (import "env" "an-imported-table-func" (func $imported_table_func (type $none_=>_none)))
 (global $STACKTOP (mut i32) (global.get $STACKTOP$asm2wasm$import))
 (elem $0 (i32.const 0) $imported_table_func)
 (export "stackAlloc" (func $stackAlloc))
 (func $stackAlloc (type $none_=>_none)
  (drop
   (global.get $STACKTOP)
  )
  (call $imported_twice_a)
 )
)