Gitly
English
Русский
Español
日本語
中文
Português
Log in
Register
v2
/
vlib
/
v
/
tests
/
array_len_int_alias_test.v
7
lines
·
6
sloc
·
110 bytes
·
66caf949a0ff21a02fd109ff8ce80dccf7893cf3
Raw
1
type
Test = int
2
3
fn
test_array_len_int_alias() {
4
x := Test(12)
5
arr := []int{len: x}
6
assert arr.len == 12
7
}
8