// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
var e{
protocol A{
func b:e protocol e{
typealias e:e:protocol e{
enum a{
func a<d{func b<a
protocol c:#^A^#
