// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing

func n<w>() -> (w, w -> w) -> w {
o m o.q = {
}
{
w) {
k  }
}
protocol n {
}
class o: n{  class func q {}
func p(e: Int = x) {
let c = p
