v/vlib/v/checker/tests/array_sort_struct_no_body_e...

7 lines
55 B
V

struct Foo {
bar int
}
mut arr := []Foo{}
arr.sort()