Check that in export foo{}, foo is an enum type, and that in export
foo{bar, quux}, foo is an enum type and bar and quux are variants belonging
to foo.
|
||
|---|---|---|
| .. | ||
| bench | ||
| compile-fail | ||
| pretty | ||
| run-fail | ||
| run-pass | ||
Check that in export foo{}, foo is an enum type, and that in export
foo{bar, quux}, foo is an enum type and bar and quux are variants belonging
to foo.
|
||
|---|---|---|
| .. | ||
| bench | ||
| compile-fail | ||
| pretty | ||
| run-fail | ||
| run-pass | ||