v4 / vlib / v / checker / tests / global_const_call_init_err.out
7 lines · 7 sloc · 252 bytes · ec451e67020f5bb2732fb69cd674827b95a934cd
Raw
1vlib/v/checker/tests/global_const_call_init_err.vv:8:16: cgen error: const global `bad` must be initialized with a C constant expression
2 6 | }
3 7 |
4 8 | __global const bad = make_value()
5 | ~~~
6 9 |
7 10 | fn main() {
8