mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
220 B
Swift
10 lines
220 B
Swift
// RUN: %sourcekitd-test -req=cursor -pos=5:16 %s -- %s | %FileCheck %s
|
|
|
|
protocol View {}
|
|
struct MyView: View {}
|
|
func indicator<T>(_ a: T) -> some View {
|
|
MyView()
|
|
}
|
|
|
|
// CHECK: source.lang.swift.decl.generic_type_param
|