mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
223 B
Swift
12 lines
223 B
Swift
protocol P {
|
|
func meth()
|
|
}
|
|
|
|
func foo (t : P) {
|
|
t.meth()
|
|
}
|
|
|
|
// RUN: %sourcekitd-test -req=cursor -pos=6:5 %s -- %s | %FileCheck %s -check-prefix=CASE1
|
|
|
|
// CASE1: source.lang.swift.ref.function.method.instance (2:8-2:14)
|