mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
5 lines
328 B
Swift
5 lines
328 B
Swift
// {"kind":"typecheck","signature":"swift::TypeBase::getSuperclassForDecl(swift::ClassDecl const*, bool)","signatureAssert":"Assertion failed: (Ptr && \"Cannot dereference a null Type!\"), function operator->"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
class a {
|
|
typealias b = c class e : a protocol d : e, d.b
|