summaryrefslogtreecommitdiff
path: root/test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast')
-rw-r--r--test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast b/test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast
new file mode 100644
index 000000000..a7541d5ad
--- /dev/null
+++ b/test/passes/asyncify_pass-arg=asyncify-addlist@foo_pass-arg=asyncify-ignore-indirect.wast
@@ -0,0 +1,18 @@
+(module
+ (type $t (func))
+ (memory 1 2)
+ (table 1 funcref)
+ (elem (i32.const 0))
+ (import "env" "import" (func $import))
+ (func $foo ;; doesn't look like it needs instrumentation, but in add list
+ (call $nothing)
+ (call_indirect (type $t) (i32.const 0))
+ )
+ (func $bar ;; doesn't look like it needs instrumentation, and not in add list
+ (call $nothing)
+ (call_indirect (type $t) (i32.const 0))
+ )
+ (func $nothing
+ )
+)
+