diff options
Diffstat (limited to 'test/unit.fromasm.no-opts')
-rw-r--r-- | test/unit.fromasm.no-opts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts index 2bffda308..3b80ebe1b 100644 --- a/test/unit.fromasm.no-opts +++ b/test/unit.fromasm.no-opts @@ -1887,12 +1887,36 @@ ) ) ) + (func $f2u (param $x f64) (result i32) + (return + (call $f64-to-int + (get_local $x) + ) + ) + ) + (func $f2s (param $x f64) (result i32) + (return + (call $f64-to-int + (get_local $x) + ) + ) + ) (func $keepAlive (drop (call $sqrts (f64.const 3.14159) ) ) + (drop + (call $f2u + (f64.const 100) + ) + ) + (drop + (call $f2s + (f64.const 100) + ) + ) ) (func $v (nop) |