summaryrefslogtreecommitdiff
path: root/test/binaryen.js/functions.js.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/binaryen.js/functions.js.txt')
-rw-r--r--test/binaryen.js/functions.js.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/binaryen.js/functions.js.txt b/test/binaryen.js/functions.js.txt
index 8dd90b3a8..bf6337e0e 100644
--- a/test/binaryen.js/functions.js.txt
+++ b/test/binaryen.js/functions.js.txt
@@ -6,3 +6,17 @@ getExpressionInfo(body)={"id":14,"value":3}
(module
)
+(module
+ (type $i32_i32_=>_i32 (func (param i32 i32) (result i32)))
+ (func $b-function (param $a i32) (param $b i32) (result i32)
+ (local $res i32)
+ (local $unused f64)
+ (local.tee $res
+ (i32.add
+ (local.get $a)
+ (local.get $b)
+ )
+ )
+ )
+)
+