// RUN: %target-swift-frontend %s -emit-ir
// https://github.com/apple/swift/issues/50000
protocol Proto { }
class Class {
func foo(callback: (A) -> Void) where A: Proto {
}
func foo(callback: (A, B) -> Void) where A: Proto, B: Proto {
}
}
class Child: Class {
override func foo(callback: (A) -> Void) where A : Proto {
}
}