mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
277 B
Swift
14 lines
277 B
Swift
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
|
|
|
|
enum MyEnum {
|
|
case foo
|
|
}
|
|
|
|
func use(_ value: Any?, _ policy: MyEnum) {}
|
|
|
|
struct Tester<Outer> {
|
|
func test<Inner>(_ value: Inner?) {
|
|
use(value, .#^COMPLETE^#foo)
|
|
}
|
|
}
|