mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
7 lines
562 B
Swift
7 lines
562 B
Swift
// {"kind":"typecheck","signature":"swift::NormalProtocolConformance::getAssociatedConformance(swift::Type, swift::ProtocolDecl*) const","signatureAssert":"Assertion failed: (!AssociatedConformances[index]), function setAssociatedConformance"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a{typealias b : IteratorProtocol} extension a{typealias Element =
|
|
b.Element} protocol c
|
|
: a{typealias b typealias Element} protocol d
|
|
: c{typealias Element} protocol e : d struct f : e
|