Files
swift-mirror/test/Constraints/issue-64621.swift
2024-09-04 10:42:19 -04:00

14 lines
169 B
Swift

// RUN: %target-typecheck-verify-swift
protocol Wrapper<T> {
associatedtype T
func get()
}
func foo<R>(_: R) -> any Wrapper<R> {}
func test() {
foo(0).get()
}