mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
491 B
Swift
6 lines
491 B
Swift
// {"kind":"typecheck","signature":"swift::NominalTypeDecl::lookupConformance(swift::ProtocolDecl*, llvm::SmallVectorImpl<swift::ProtocolConformance*>&) const","signatureAssert":"Assertion failed: (!isa<ProtocolDecl>(this) && \"Self-conformances are only found by the higher-level \" \"swift::lookupConformance() entry point\"), function lookupConformance"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
// REQUIRES: objc_interop
|
|
@objc protocol a{a} extension a {
|
|
a class b : a
|