tests/cli/dump/component-outer-alias.wat
raw| 1 | ;; RUN: dump % |
| 2 | |
| 3 | (component |
| 4 | (type $t string) |
| 5 | |
| 6 | (type (component |
| 7 | (type (func (result $t))) |
| 8 | )) |
| 9 | (component |
| 10 | (type (func (result $t))) |
| 11 | ) |
| 12 | |
| 13 | ;; should only have one alias in here |
| 14 | (component |
| 15 | (type (func (result $t))) |
| 16 | (type (func (result $t))) |
| 17 | ) |
| 18 | |
| 19 | ;; can work with later types too |
| 20 | (type $t2 u8) |
| 21 | (component |
| 22 | (type (func (result $t2))) |
| 23 | (type (func (result $t2))) |
| 24 | ) |
| 25 | ) |