Debian Codegraph @

tests/cli/dummy-async-future-export-with-named-type.wit

raw
1 // RUN: component embed % --dummy-names legacy --async-callback | \
2 // component new | \
3 // component wit
4
5 package a:b;
6
7 world c {
8 enum name { a, b, c }
9
10 export f: func(a: future<name>);
11 }