v/vlib/v/gen/tests/if_expr.vv

6 lines
46 B
V

fn foo() {
a := if true { 1 } else { 2 }
}