mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
13 lines
247 B
Swift
13 lines
247 B
Swift
// RUN: %target-swift-frontend -primary-file %s -emit-ir -o -
|
|
|
|
// https://github.com/apple/swift/issues/49830
|
|
|
|
struct S<T> {}
|
|
|
|
extension S where T == Int {
|
|
typealias Callback = (Bool) -> Void
|
|
|
|
func process(callback: Callback) {
|
|
}
|
|
}
|