v2 / vlib / v / checker / tests / var_used_before_declaration.vv
5 lines · 5 sloc · 49 bytes · 0c8ce3bcb9fd4a2e5bd5f991a5a07da976d780d7
Raw
1fn main() {
2 println(x)
3 x := 'hello v'
4 _ = x
5}
6