diff options
Diffstat (limited to 'test/passes/remove-unused-functions.txt')
-rw-r--r-- | test/passes/remove-unused-functions.txt | 17 |
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) ) ) |