mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
5 lines
412 B
Swift
5 lines
412 B
Swift
// {"kind":"typecheck","signature":"swift::NominalType::get(swift::NominalTypeDecl*, swift::Type, swift::ASTContext const&)","signatureAssert":"Assertion failed: ((!Parent || Parent->is<NominalType>() || Parent->is<BoundGenericType>() || Parent->is<UnboundGenericType>()) && \"parent must be a nominal type\"), function get"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
extension() {
|
|
struct a extension a
|