// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s // RUN: %target-swift-ide-test -code-completion -code-completion-token=B -source-filename=%s protocol Proto {} struct S { typealias Value = T func test(arg: Int) -> Value { return #^A^# } } class C: Proto { init() {} } extension Proto { typealias Nested = C } func receiver(arg: T) {} func test() { receiver(arg: .#^B^#) }