Files
swift-mirror/test/SourceKit/Indexing/sr_3815.swift
2021-04-13 23:14:06 -07:00

14 lines
333 B
Swift

// RUN: %sourcekitd-test -req=index %s -- -Xfrontend -serialize-diagnostics-path -Xfrontend %t.dia %s -Xfrontend -disable-implicit-concurrency-module-import | %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() {}
}