summaryrefslogtreecommitdiff
path: root/test/dot_s/import.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/dot_s/import.wast')
-rw-r--r--test/dot_s/import.wast33
1 files changed, 33 insertions, 0 deletions
diff --git a/test/dot_s/import.wast b/test/dot_s/import.wast
new file mode 100644
index 000000000..ce68592f1
--- /dev/null
+++ b/test/dot_s/import.wast
@@ -0,0 +1,33 @@
+(module
+ (memory 0 4294967295)
+ (import $printi "env" "printi")
+ (import $printf "env" "printf")
+ (import $printv "env" "printv")
+ (import $split_arg "env" "split_arg")
+ (import $expanded_arg "env" "expanded_arg")
+ (import $lowered_result "env" "lowered_result")
+ (export "f" $f)
+ (func $f (param $$0 i32) (param $$1 f32) (param $$2 i64) (param $$3 i64) (param $$4 i32)
+ (block $fake_return_waka123
+ (block
+ (call_import $printi
+ (get_local $$0)
+ )
+ (call_import $printf
+ (get_local $$1)
+ )
+ (call_import $printv)
+ (call_import $split_arg
+ (get_local $$3)
+ (get_local $$2)
+ )
+ (call_import $expanded_arg
+ (get_local $$4)
+ )
+ (call_import $lowered_result)
+ (br $fake_return_waka123)
+ )
+ )
+ )
+)
+; METADATA: { "asmConsts": {} } \ No newline at end of file