summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-functions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/remove-unused-functions.txt')
-rw-r--r--test/passes/remove-unused-functions.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/passes/remove-unused-functions.txt b/test/passes/remove-unused-functions.txt
index b6f7cf3e1..cd819d347 100644
--- a/test/passes/remove-unused-functions.txt
+++ b/test/passes/remove-unused-functions.txt
@@ -3,7 +3,8 @@
(start $start)
(type $0 (func))
(export "exported" $exported)
- (table $called_indirect)
+ (table 1 1 anyfunc)
+ (elem (i32.const 0) $called_indirect)
(func $start (type $0)
(call $called0)
)