summaryrefslogtreecommitdiff
path: root/test/min.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/min.fromasm')
-rw-r--r--test/min.fromasm5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/min.fromasm b/test/min.fromasm
index a382808d2..4e5c4639d 100644
--- a/test/min.fromasm
+++ b/test/min.fromasm
@@ -10,7 +10,7 @@
)
)
)
- (func $neg (param $k i32) (param $p i32)
+ (func $neg (param $k i32) (param $p i32) (result f32)
(local $n f32)
(set_local $n
(f32.neg
@@ -25,5 +25,8 @@
)
)
)
+ (return
+ (get_local $n)
+ )
)
)