mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
14 lines
192 B
Swift
14 lines
192 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
|
|
struct Outer {
|
|
struct Inner {
|
|
struct Foo<T> {
|
|
static func id(_ v: T) -> T { v }
|
|
}
|
|
}
|
|
}
|
|
|
|
let _: Outer = .Inner.Foo<Outer>.id(.init())
|
|
|