/ tests / expectations / compiler / function / standard_function_calls_standard_function_fail.out
standard_function_calls_standard_function_fail.out
 1  Error [ETYC0372042]: Only `inline` can be called from a `function`, `inline`, or `constructor`.
 2      --> compiler-test:5:19
 3       |
 4     5 |            return adder(a, b);
 5       |                   ^^^^^^^^^^^
 6  Error [ETYC0372042]: Only `inline` can be called from a `function`, `inline`, or `constructor`.
 7      --> compiler-test:7:20
 8       |
 9     7 |             return subber(a, b);
10       |                    ^^^^^^^^^^^^
11  Error [ETYC0372083]: A program must have at least one transition function.
12      --> compiler-test:2:9
13       |
14     2 | program test.alpha {
15       |         ^^^^^^^^^