mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
validateDeclForNameLookup() is going away and this won't happen at all, but let's make sure we have a regression test.
10 lines
169 B
Swift
10 lines
169 B
Swift
// RUN: not %target-swift-frontend -typecheck %s
|
|
|
|
class A {
|
|
var member: B
|
|
|
|
protocol B {
|
|
typealias Elem = Undefined<Int, <#placeholder#>
|
|
|
|
typealias C = Undefined<Int
|