mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fmt: add function with variadic arg to test file
This commit is contained in:
parent
cca5c5537f
commit
8fafaf38a3
@ -182,3 +182,7 @@ fn fn_with_match_expr() {
|
||||
else {}
|
||||
}
|
||||
}
|
||||
|
||||
fn fn_variadic(arg int, args ...string) {
|
||||
println('Do nothing')
|
||||
}
|
||||
|
@ -182,3 +182,7 @@ fn fn_with_match_expr() {
|
||||
else {}
|
||||
}
|
||||
}
|
||||
|
||||
fn fn_variadic(arg int, args... string) {
|
||||
println('Do nothing')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user