mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
292 B
Swift
11 lines
292 B
Swift
// RUN: %target-swift-frontend -typecheck %S/Inputs/default-witness.swift -primary-file %s -enable-library-evolution
|
|
|
|
public protocol GraphType {
|
|
func insert<U>(_: GraphNode<U>, _: GraphNode<U>)
|
|
}
|
|
|
|
public extension GraphType {
|
|
func insert<N: Node>(_: N, _: GraphNode<N.Output>) {}
|
|
}
|
|
|