diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/table-import.wast | 9 | ||||
-rw-r--r-- | test/table-import.wast.fromBinary | 10 | ||||
-rw-r--r-- | test/table-import.wast.fromBinary.noDebugInfo | 10 |
3 files changed, 29 insertions, 0 deletions
diff --git a/test/table-import.wast b/test/table-import.wast new file mode 100644 index 000000000..6d40941e2 --- /dev/null +++ b/test/table-import.wast @@ -0,0 +1,9 @@ +(module + (type $0 (func)) + (import "env" "table" (table 1 1 anyfunc)) + (elem (i32.const 0) $foo) + (memory $0 0) + (func $foo (type $0) + (nop) + ) +) diff --git a/test/table-import.wast.fromBinary b/test/table-import.wast.fromBinary new file mode 100644 index 000000000..38efc07a4 --- /dev/null +++ b/test/table-import.wast.fromBinary @@ -0,0 +1,10 @@ +(module + (type $0 (func)) + (import "env" "table" (table 1 1 anyfunc)) + (elem (i32.const 0) $foo) + (memory $0 0) + (func $foo (type $0) + (nop) + ) +) + diff --git a/test/table-import.wast.fromBinary.noDebugInfo b/test/table-import.wast.fromBinary.noDebugInfo new file mode 100644 index 000000000..52852faf8 --- /dev/null +++ b/test/table-import.wast.fromBinary.noDebugInfo @@ -0,0 +1,10 @@ +(module + (type $0 (func)) + (import "env" "table" (table 1 1 anyfunc)) + (elem (i32.const 0) $0) + (memory $0 0) + (func $0 (type $0) + (nop) + ) +) + |