summaryrefslogtreecommitdiff
path: root/test/unit.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.wast')
-rw-r--r--test/unit.wast16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/unit.wast b/test/unit.wast
index 9e4b19eb4..72e124b41 100644
--- a/test/unit.wast
+++ b/test/unit.wast
@@ -54,6 +54,15 @@
(func $doubleCompares (param $x f64) (param $y f64) (result f64)
(block $topmost
(if
+ (f64.gt
+ (get_local $x)
+ (f64.const 0)
+ )
+ (break $topmost
+ (f64.const 0)
+ )
+ )
+ (if
(f64.lt
(get_local $x)
(get_local $y)
@@ -67,6 +76,13 @@
)
)
)
+ (func $intOps (result i32)
+ (local $x i32)
+ (i32.eq
+ (get_local $x)
+ (i32.const 0)
+ )
+ )
(func $z
(nop)
)