// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s | FileCheck %s
// RUN: %target-swift-ide-test -code-completion -code-completion-token=B -source-filename=%s | FileCheck %s

typealias X = protocol<CustomStringConvertible>
typealias Y = protocol<CustomStringConvertible>
extension protocol<X, Y> {
    func x() { #^A^# }
}
extension AnyObject {
    func x() { #^B^# }
}
// Sanity check results.
// CHECK:  Keyword/None:                       let

Add a test for some previously crashing extensions
[CodeCompletion] Add a test for some previously crashing extensions

This got incidentally fixed recently, but wasn't yet tested.

rdar://problem/21825270

Swift SVN r32792
