mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
10 lines
148 B
V
10 lines
148 B
V
fn test_fn_call_fixed_array_literal_args() {
|
|
ret := get_str([1]!)
|
|
assert ret == '[1]'
|
|
}
|
|
|
|
fn get_str(t [1]int) string {
|
|
println(t)
|
|
return '$t'
|
|
}
|