mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
7 lines
81 B
V
7 lines
81 B
V
type Test = []int
|
|
|
|
fn test_index() {
|
|
t := Test([2,4])
|
|
assert t[1] == 4
|
|
}
|