catala/tests/test_enum/bad/empty.catala_en
2023-04-27 12:09:22 +02:00

21 lines
420 B
Plaintext

## 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.
┌─⯈ tests/test_enum/bad/empty.catala_en:4.25-4.28:
└─┐
4 │ declaration enumeration Foo:
│ ‾‾‾
└─ Test
#return code 255#
```