summaryrefslogtreecommitdiff
path: root/test/nonspec-bulk-memory.wast.fromBinary
diff options
context:
space:
mode:
Diffstat (limited to 'test/nonspec-bulk-memory.wast.fromBinary')
-rw-r--r--test/nonspec-bulk-memory.wast.fromBinary30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/nonspec-bulk-memory.wast.fromBinary b/test/nonspec-bulk-memory.wast.fromBinary
new file mode 100644
index 000000000..9120c43e6
--- /dev/null
+++ b/test/nonspec-bulk-memory.wast.fromBinary
@@ -0,0 +1,30 @@
+(module
+ (type $none_=>_none (func))
+ (memory $0 1024 1024)
+ (data (i32.const 0) "hello, world")
+ (func $memory.init
+ (memory.init 0
+ (i32.const 512)
+ (i32.const 0)
+ (i32.const 12)
+ )
+ )
+ (func $data.drop
+ (data.drop 0)
+ )
+ (func $memory.copy
+ (memory.copy
+ (i32.const 512)
+ (i32.const 0)
+ (i32.const 12)
+ )
+ )
+ (func $memory.fill
+ (memory.fill
+ (i32.const 0)
+ (i32.const 42)
+ (i32.const 1024)
+ )
+ )
+)
+