mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
326 B
Swift
4 lines
326 B
Swift
// {"kind":"typecheck","signature":"swift::ProtocolRequiresClassRequest::diagnoseCycle(swift::DiagnosticEngine&) const","signatureAssert":"Assertion failed: (!ActiveDiagnostic && \"Already have an active diagnostic\"), function diagnose"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
struct b let b c a = b protocol a : a
|