summaryrefslogtreecommitdiff
path: root/test/lit/merge/start.wat.second
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/merge/start.wat.second')
-rw-r--r--test/lit/merge/start.wat.second15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/lit/merge/start.wat.second b/test/lit/merge/start.wat.second
new file mode 100644
index 000000000..0f00feb7a
--- /dev/null
+++ b/test/lit/merge/start.wat.second
@@ -0,0 +1,15 @@
+(module
+ (start $start)
+
+ (func $start (export "start")
+ (drop
+ (i32.const 1)
+ )
+ )
+
+ (func $user (export "user")
+ ;; These calls must go to the function $start here (with body "1").
+ (call $start)
+ (call $start)
+ )
+)