fmt: add function with variadic arg to test file

pull/3908/merge
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')
}