catala/tests/test_enum/bad/empty.catala_en

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
420 B
Plaintext
Raw Normal View History

## Test
```catala
declaration enumeration Foo:
declaration scope Bar:
internal foo content Foo
```
```catala-test-inline
$ catala Typecheck
[ERROR] The enum Foo does not have any cases; give it some for Catala to be able to accept it.
2023-04-17 19:07:22 +03:00
┌─⯈ tests/test_enum/bad/empty.catala_en:4.25-4.28:
└─┐
4 │ declaration enumeration Foo:
│ ‾‾‾
└─ Test
#return code 255#
```