Files
swift-mirror/validation-test/compiler_crashers/createPropertyStoreOrCallSuperclassSetter-ffc098.swift
Hamish Knight 4e811c3a88 [test] Merge crasher directories
There is no longer much of a good reason to keep these separate,
merge them.
2025-10-18 12:51:30 +01:00

11 lines
798 B
Swift

// {"kind":"typecheck","signature":"createPropertyStoreOrCallSuperclassSetter(swift::AccessorDecl*, swift::Expr*, swift::AbstractStorageDecl*, (anonymous namespace)::TargetImpl, llvm::SmallVectorImpl<swift::ASTNode>&, swift::ASTContext&)","signatureAssert":"Assertion failed: (destType->getOptionalObjectType()), function createPropertyStoreOrCallSuperclassSetter"}
// RUN: not --crash %target-swift-frontend -typecheck %s
@propertyWrapper struct a < b {
wrappedValue : b static subscript<c>(_enclosingInstance d
: c, wrapped e
: ReferenceWritableKeyPath<c, b>
storage f
: ReferenceWritableKeyPath<c, Self>) Self
} class g {
@a h = 7