diff options
Diffstat (limited to 'test/passes/reorder-functions.wast')
-rw-r--r-- | test/passes/reorder-functions.wast | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/test/passes/reorder-functions.wast b/test/passes/reorder-functions.wast index 99a8363d4..a69afa3b9 100644 --- a/test/passes/reorder-functions.wast +++ b/test/passes/reorder-functions.wast @@ -1,6 +1,16 @@ (module (memory 256 256) - (func $a (call $a)) - (func $b (call $b) (call $b)) - (func $c (call $c) (call $c) (call $c)) + (type $0 (func)) + (func $a (type $0) + (call $a) + ) + (func $b (type $0) + (call $b) + (call $b) + ) + (func $c (type $0) + (call $c) + (call $c) + (call $c) + ) ) |