summaryrefslogtreecommitdiff
path: root/test/ctor-eval/unsafe_store3.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/ctor-eval/unsafe_store3.wast')
-rw-r--r--test/ctor-eval/unsafe_store3.wast10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/ctor-eval/unsafe_store3.wast b/test/ctor-eval/unsafe_store3.wast
new file mode 100644
index 000000000..701e4b32e
--- /dev/null
+++ b/test/ctor-eval/unsafe_store3.wast
@@ -0,0 +1,10 @@
+(module
+ (memory 256 256)
+ (data (i32.const 10) "waka waka waka waka waka")
+ (export "test1" $test1)
+ (export "test2" $test2)
+ (export "test3" $test3)
+ (func $test1
+ (i32.store16 (i32.const 33) (i32.const 109)) ;; after last segment due to size of type
+ )
+)