v2 / vlib / v / checker / tests / struct_unknown_field.vv
11 lines · 10 sloc · 88 bytes · 11b7b973119f9025dc8ed268a1c41af08dd1f9f5
Raw
1struct Test {
2 foo bool
3}
4
5fn main() {
6 t := Test{
7 foo: true
8 bar: false
9 }
10 _ = t
11}
12