summaryrefslogtreecommitdiffstats
path: root/third_party/rust/wast/tests/parse-fail/bad-func-alias.wat
blob: d558ebbf8276a9fe365626474b847eaaa3627cef (plain)
1
2
3
4
5
6
7
(component
    (component $comp)
    (instance $inst (instantiate $comp))
    (func $alias1 (alias export $inst "fun"))
    (alias export $inst "fun" (func $alias2))
    (alias export $inst "fun" (core func $alias3))
)