diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/memory-import.wast | 9 | ||||
-rw-r--r-- | test/memory-import.wast.fromBinary | 10 | ||||
-rw-r--r-- | test/memory-import.wast.fromBinary.noDebugInfo | 10 |
3 files changed, 29 insertions, 0 deletions
diff --git a/test/memory-import.wast b/test/memory-import.wast new file mode 100644 index 000000000..d7e6e3770 --- /dev/null +++ b/test/memory-import.wast @@ -0,0 +1,9 @@ +(module + (type $0 (func (result i32))) + (import "env" "memory" (memory $0 1 1)) + (func $foo (type $0) (result i32) + (i32.load offset=13 + (i32.const 37) + ) + ) +) diff --git a/test/memory-import.wast.fromBinary b/test/memory-import.wast.fromBinary new file mode 100644 index 000000000..1ba3cb0f3 --- /dev/null +++ b/test/memory-import.wast.fromBinary @@ -0,0 +1,10 @@ +(module + (type $0 (func (result i32))) + (import "env" "memory" (memory $0 1 1)) + (func $foo (type $0) (result i32) + (i32.load offset=13 + (i32.const 37) + ) + ) +) + diff --git a/test/memory-import.wast.fromBinary.noDebugInfo b/test/memory-import.wast.fromBinary.noDebugInfo new file mode 100644 index 000000000..2ddf90ce9 --- /dev/null +++ b/test/memory-import.wast.fromBinary.noDebugInfo @@ -0,0 +1,10 @@ +(module + (type $0 (func (result i32))) + (import "env" "memory" (memory $0 1 1)) + (func $0 (type $0) (result i32) + (i32.load offset=13 + (i32.const 37) + ) + ) +) + |