mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
7 lines
195 B
Swift
7 lines
195 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
protocol P {}
|
|
typealias T = (P) -> Void
|
|
let x: T! = [1, 2, 3].reversed().reduce()
|
|
// expected-error@-1 {{missing arguments for parameters #1, #2 in call}}
|