diff options
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r-- | test/unit.fromasm.imprecise.no-opts | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index e16dd92f8..7831656f7 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -2,6 +2,8 @@ (type $FUNCSIG$ddd (func (param f64 f64) (result f64))) (type $FUNCSIG$vf (func (param f32))) (type $FUNCSIG$vi (func (param i32))) + (type $FUNCSIG$v (func)) + (type $FUNCSIG$idi (func (param f64 i32) (result i32))) (type $FUNCSIG$ii (func (param i32) (result i32))) (type $FUNCSIG$dd (func (param f64) (result f64))) (type $FUNCSIG$i (func (result i32))) @@ -73,6 +75,7 @@ (export "relooperJumpThreading_irreducible" (func $relooperJumpThreading_irreducible)) (export "store_fround" (func $store_fround)) (export "exportedNumber" (global $exportedNumber)) + (export "relocatableAndModules" (func $relocatableAndModules)) (func $big_negative (local $temp f64) (set_local $temp @@ -1800,6 +1803,21 @@ ) ) ) + (func $relocatableAndModules (result i32) + (call_indirect $FUNCSIG$v + (i32.const 10) + ) + (call_indirect $FUNCSIG$v + (i32.const 20) + ) + (return + (call_indirect $FUNCSIG$idi + (f64.const 1.5) + (i32.const 200) + (i32.const 30) + ) + ) + ) (func $v (nop) ) |