summaryrefslogtreecommitdiff
path: root/test/unit.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm')
-rw-r--r--test/unit.fromasm15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/unit.fromasm b/test/unit.fromasm
index fd0fb27a0..45dc81937 100644
--- a/test/unit.fromasm
+++ b/test/unit.fromasm
@@ -1155,12 +1155,27 @@
)
)
)
+ (func $f2u (param $0 f64) (result i32)
+ (call $f64-to-int
+ (get_local $0)
+ )
+ )
(func $keepAlive
(drop
(call $sqrts
(f64.const 3.14159)
)
)
+ (drop
+ (call $f2u
+ (f64.const 100)
+ )
+ )
+ (drop
+ (call $f2u
+ (f64.const 100)
+ )
+ )
)
(func $vi (param $0 i32)
(nop)