summaryrefslogtreecommitdiff
path: root/test/unit.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.wast')
-rw-r--r--test/unit.wast8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/unit.wast b/test/unit.wast
index b8823d34f..dd1f59d2d 100644
--- a/test/unit.wast
+++ b/test/unit.wast
@@ -327,6 +327,14 @@
)
)
)
+ (func $neg
+ (local $x f32)
+ (set_local $x
+ (f32.neg
+ (get_local $x)
+ )
+ )
+ )
(func $z
(nop)
)