catala/tests/test_variable_state/bad/def_no_state.catala_en
Louis Gesbert 0c0ef1ae1a Add test return codes
Simply re-generated with 'make tests CLERK_OPTS=--reset'
2022-09-23 14:50:02 +02:00

31 lines
569 B
Plaintext

## Test
```catala
declaration scope A:
output foo content integer
state bar
state baz
scope A:
definition foo equals 2
```
```catala-test-inline
$ catala Typecheck
[ERROR] This definition does not indicate which state has to be considered for variable foo.
--> tests/test_variable_state/bad/def_no_state.catala_en
|
10 | definition foo equals 2
| ^^^
+ Test
Variable declaration:
--> tests/test_variable_state/bad/def_no_state.catala_en
|
5 | output foo content integer
| ^^^
+ Test
#return code 255#
```