mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
278 B
Swift
14 lines
278 B
Swift
// RUN: %sourcekitd-test -req=index %s -- -Xfrontend -serialize-diagnostics-path -Xfrontend %t.dia %s | %sed_clean > %t.response
|
|
// RUN: %diff -u %s.response %t.response
|
|
|
|
protocol P {
|
|
typealias Index = Int
|
|
func f()
|
|
}
|
|
|
|
struct S : P {
|
|
typealias Index = Int
|
|
|
|
func f() {}
|
|
}
|