summaryrefslogtreecommitdiff
path: root/test/memorygrowth-minimal.fromasm.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/memorygrowth-minimal.fromasm.no-opts')
-rw-r--r--test/memorygrowth-minimal.fromasm.no-opts12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/memorygrowth-minimal.fromasm.no-opts b/test/memorygrowth-minimal.fromasm.no-opts
new file mode 100644
index 000000000..74edd247b
--- /dev/null
+++ b/test/memorygrowth-minimal.fromasm.no-opts
@@ -0,0 +1,12 @@
+(module
+ (import "env" "memory" (memory $0 256))
+ (import "env" "table" (table 0 0 anyfunc))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
+ (export "__growWasmMemory" (func $__growWasmMemory))
+ (func $__growWasmMemory (; 0 ;) (param $newSize i32) (result i32)
+ (grow_memory
+ (get_local $newSize)
+ )
+ )
+)