mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
215 B
Swift
6 lines
215 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
func foo(chr: Character) -> String {
|
|
return String(repeating: String(chr)) // expected-error {{missing argument for parameter 'count' in call}} {{39-39=, count: <#Int#>}}
|
|
}
|