diff options
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r-- | test/unit.fromasm.imprecise.no-opts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts index eafbb32f7..c872d9053 100644 --- a/test/unit.fromasm.imprecise.no-opts +++ b/test/unit.fromasm.imprecise.no-opts @@ -77,6 +77,7 @@ (export "exportedNumber" (global $exportedNumber)) (export "relocatableAndModules" (func $relocatableAndModules)) (export "exported_f32_user" (func $legalstub$exported_f32_user)) + (export "keepAlive" (func $keepAlive)) (func $big_negative (local $temp f64) (set_local $temp @@ -1848,6 +1849,29 @@ (get_local $y) ) ) + (func $sqrts (param $x f64) (result f64) + (return + (f64.add + (f64.sqrt + (get_local $x) + ) + (f64.promote/f32 + (f32.sqrt + (f32.demote/f64 + (get_local $x) + ) + ) + ) + ) + ) + ) + (func $keepAlive + (drop + (call $sqrts + (f64.const 3.14159) + ) + ) + ) (func $v (nop) ) |