tests/cli/component-model/gated-tags.wast
raw| 1 | ;; RUN: wast --features=-exceptions --assert default --snapshot tests/snapshots % |
| 2 | |
| 3 | (assert_invalid |
| 4 | (component |
| 5 | (core module $m (func (export ""))) |
| 6 | (core instance $i (instantiate $m)) |
| 7 | (alias core export $i "" (core tag $t)) |
| 8 | ) |
| 9 | "exceptions proposal not enabled") |
| 10 | |
| 11 | (assert_invalid |
| 12 | (component |
| 13 | (core module $m (func (export ""))) |
| 14 | (core instance $i (instantiate $m)) |
| 15 | (core instance |
| 16 | (export "" (tag 0))) |
| 17 | ) |
| 18 | "exceptions proposal not enabled") |