v/vlib/v/tests/shared_array_append_many_te...

7 lines
90 B
V

fn test_shared_array_append_many() {
shared a := []int{}
lock a {
a << [1, 2, 3]
}
}