summaryrefslogtreecommitdiff
path: root/test/dot_s/start_main2.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/start_main2.wast')
-rw-r--r--test/dot_s/start_main2.wast20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/dot_s/start_main2.wast b/test/dot_s/start_main2.wast
new file mode 100644
index 000000000..42e8b4897
--- /dev/null
+++ b/test/dot_s/start_main2.wast
@@ -0,0 +1,20 @@
+(module
+ (memory 0 4294967295)
+ (start $_start)
+ (export "main" $main)
+ (export "_start" $_start)
+ (func $main (param $$0 i32) (param $$1 i32) (result i32)
+ (return
+ (get_local $$0)
+ )
+ )
+ (func $_start
+ (local $0 i32)
+ (local $1 i32)
+ (call $main
+ (get_local $0)
+ (get_local $1)
+ )
+ )
+)
+;; METADATA: { "asmConsts": {},"staticBump": 4 }