summaryrefslogtreecommitdiff
path: root/test/wasm2js/emscripten.2asm.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm2js/emscripten.2asm.js')
-rw-r--r--test/wasm2js/emscripten.2asm.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/wasm2js/emscripten.2asm.js b/test/wasm2js/emscripten.2asm.js
index 52412f676..8ba8564ce 100644
--- a/test/wasm2js/emscripten.2asm.js
+++ b/test/wasm2js/emscripten.2asm.js
@@ -61,6 +61,10 @@ function asmFunc(imports) {
exported(1 | 0) | 0;
}
+ function other() {
+ main();
+ }
+
function foo() {
wasm2js_trap();
}
@@ -218,7 +222,7 @@ function asmFunc(imports) {
return {
"main": main,
- "other": main,
+ "other": other,
"__growWasmMemory": __growWasmMemory,
"exported": exported,
"sub_zero": sub_zero,