summaryrefslogtreecommitdiff
path: root/test/passes/remove-unused-functions.txt
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-07-28 14:16:19 -0700
committerGitHub <noreply@github.com>2016-07-28 14:16:19 -0700
commitcffbc4bc36f5e5f53e34f16ba4e687fdf130131d (patch)
tree0bf5c6d3bc347b2fddffce477a67826c9093a8be /test/passes/remove-unused-functions.txt
parent3dc2e2579199fb0457846a22b3759ef16531b3da (diff)
downloadbinaryen-cffbc4bc36f5e5f53e34f16ba4e687fdf130131d.tar.gz
binaryen-cffbc4bc36f5e5f53e34f16ba4e687fdf130131d.tar.bz2
binaryen-cffbc4bc36f5e5f53e34f16ba4e687fdf130131d.zip
wast function type name desugaring is changing in spec:301 (#654)
Diffstat (limited to 'test/passes/remove-unused-functions.txt')
-rw-r--r--test/passes/remove-unused-functions.txt17
1 files changed, 9 insertions, 8 deletions
diff --git a/test/passes/remove-unused-functions.txt b/test/passes/remove-unused-functions.txt
index 171997e14..b6f7cf3e1 100644
--- a/test/passes/remove-unused-functions.txt
+++ b/test/passes/remove-unused-functions.txt
@@ -1,31 +1,32 @@
(module
(memory 0)
(start $start)
+ (type $0 (func))
(export "exported" $exported)
(table $called_indirect)
- (func $start
+ (func $start (type $0)
(call $called0)
)
- (func $called0
+ (func $called0 (type $0)
(call $called1)
)
- (func $called1
+ (func $called1 (type $0)
(nop)
)
- (func $called_indirect
+ (func $called_indirect (type $0)
(nop)
)
- (func $exported
+ (func $exported (type $0)
(call $called2)
)
- (func $called2
+ (func $called2 (type $0)
(call $called2)
(call $called3)
)
- (func $called3
+ (func $called3 (type $0)
(call $called4)
)
- (func $called4
+ (func $called4 (type $0)
(call $called3)
)
)