1
0
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:
Alexey 2020-03-02 19:10:06 +03:00 committed by GitHub
parent cca5c5537f
commit 8fafaf38a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -182,3 +182,7 @@ fn fn_with_match_expr() {
else {}
}
}
fn fn_variadic(arg int, args ...string) {
println('Do nothing')
}

View File

@ -182,3 +182,7 @@ fn fn_with_match_expr() {
else {}
}
}
fn fn_variadic(arg int, args... string) {
println('Do nothing')
}