mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Protocol witness table entries of async functions need to be async function pointers. rdar://77474699
10 lines
147 B
Swift
10 lines
147 B
Swift
public protocol Problem : class {
|
|
}
|
|
|
|
public extension Problem {
|
|
}
|
|
|
|
public func callGenericWitness<T: Problem> (_ t: T) async -> Int {
|
|
return 0
|
|
}
|