summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2017-07-18 09:17:57 -0700
committerGitHub <noreply@github.com>2017-07-18 09:17:57 -0700
commite865f2fa2863b6e91521c059a61a4483769bf5c9 (patch)
treef2d4bbee701376a4975ebf0d2c518f10369fdabd /test/unit.fromasm.imprecise.no-opts
parent24accd15fb59d476daaebbbcd492b8a9ee729b2b (diff)
parent7bc2ed70de137aa6615fcd5d0e1f3e88f008a738 (diff)
downloadbinaryen-e865f2fa2863b6e91521c059a61a4483769bf5c9.tar.gz
binaryen-e865f2fa2863b6e91521c059a61a4483769bf5c9.tar.bz2
binaryen-e865f2fa2863b6e91521c059a61a4483769bf5c9.zip
Merge pull request #1095 from WebAssembly/fuzz-3
More fuzz fixes
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r--test/unit.fromasm.imprecise.no-opts19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts
index 3747f2c90..227cf5e79 100644
--- a/test/unit.fromasm.imprecise.no-opts
+++ b/test/unit.fromasm.imprecise.no-opts
@@ -1937,6 +1937,24 @@
)
)
)
+ (func $emterpretify_assertions_safeHeap
+ (local $i1 i32)
+ (call_indirect $FUNCSIG$vi
+ (get_local $i1)
+ (i32.add
+ (i32.and
+ (block (result i32)
+ (set_global $Int
+ (i32.const 1)
+ )
+ (get_global $Int)
+ )
+ (i32.const 7)
+ )
+ (i32.const 16)
+ )
+ )
+ )
(func $keepAlive
(drop
(call $sqrts
@@ -1959,6 +1977,7 @@
)
)
(call $indirectInSequence)
+ (call $emterpretify_assertions_safeHeap)
)
(func $v
(nop)