mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
653 B
Swift
11 lines
653 B
Swift
// {"signature":"createPropertyStoreOrCallSuperclassSetter(swift::AccessorDecl*, swift::Expr*, swift::AbstractStorageDecl*, (anonymous namespace)::TargetImpl, llvm::SmallVectorImpl<swift::ASTNode>&, swift::ASTContext&)"}
|
|
// 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
|