summaryrefslogtreecommitdiff
path: root/test/lit/merge/start3.wat.second
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit/merge/start3.wat.second')
-rw-r--r--test/lit/merge/start3.wat.second16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/lit/merge/start3.wat.second b/test/lit/merge/start3.wat.second
new file mode 100644
index 000000000..ec66c2f5b
--- /dev/null
+++ b/test/lit/merge/start3.wat.second
@@ -0,0 +1,16 @@
+(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") and not
+ ;; to the modified start that has the third module's content merged in.
+ (call $start)
+ (call $start)
+ )
+)