blob: 808206df8924085e1cc2ae850706e59da2a1a262 [file] [log] [blame]
// RUN: %target-swift-frontend %s -emit-ir
protocol Proto { }
class Class {
func foo<A>(callback: (A) -> Void) where A: Proto {
}
func foo<A, B>(callback: (A, B) -> Void) where A: Proto, B: Proto {
}
}
class Child: Class {
override func foo<A>(callback: (A) -> Void) where A : Proto {
}
}