summaryrefslogtreecommitdiff
path: root/test/binaryen.js/reloc.js.txt
blob: b98bc4bef736f1d474e312415d23415479df7383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(module
 (type $0 (func))
 (import "env" "memory_base" (global $memory_base i32))
 (import "env" "table_base" (global $table_base i32))
 (memory $0 1)
 (data $x0 (global.get $memory_base) "data data")
 (table $0 1 funcref)
 (elem $0 (global.get $table_base) $func $func)
 (func $func
  (nop)
 )
)