mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
404 B
Swift
11 lines
404 B
Swift
// {"kind":"typecheck","original":"0a6d4af4","signature":"swift::AvailabilityContext::Storage::get(swift::AvailabilityRange const&, bool, llvm::ArrayRef<swift::AvailabilityContext::DomainInfo>, swift::ASTContext const&)"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
protocol a {
|
|
associatedtype b
|
|
func append < c : a where b == c>()
|
|
struct d : a {
|
|
typealias b = Int
|
|
func append()
|
|
}
|
|
}
|