summaryrefslogtreecommitdiff
path: root/test/wasm2js/func_ptrs.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/func_ptrs.2asm.js')
-rw-r--r--test/wasm2js/func_ptrs.2asm.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/wasm2js/func_ptrs.2asm.js b/test/wasm2js/func_ptrs.2asm.js
index ccd220152..4b7c4fd44 100644
--- a/test/wasm2js/func_ptrs.2asm.js
+++ b/test/wasm2js/func_ptrs.2asm.js
@@ -27,11 +27,16 @@ function asmFunc(imports) {
return a - 2 | 0 | 0;
}
+ function $6($0) {
+ $0 = $0 | 0;
+ print($0 | 0);
+ }
+
return {
"one": $3,
"two": $4,
"three": $5,
- "four": print
+ "four": $6
};
}