diff options
Diffstat (limited to 'test/binaryen.js/reloc.js.txt')
-rw-r--r-- | test/binaryen.js/reloc.js.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/binaryen.js/reloc.js.txt b/test/binaryen.js/reloc.js.txt new file mode 100644 index 000000000..901499f98 --- /dev/null +++ b/test/binaryen.js/reloc.js.txt @@ -0,0 +1,13 @@ +(module + (type $v (func)) + (import "env" "memory_base" (global $memory_base i32)) + (import "env" "table_base" (global $table_base i32)) + (memory $0 1) + (data (global.get $memory_base) "data data") + (table $0 1 funcref) + (elem (global.get $table_base) $func $func) + (func $func (; 0 ;) (type $v) + (nop) + ) +) + |