mirror of
https://github.com/apple/swift.git
synced 2026-10-10 13:50:43 +02:00
15 lines
476 B
Swift
15 lines
476 B
Swift
// {"kind":"emit-silgen","original":"63bac84b","signature":"getBaseAccessKind(swift::Lowering::SILGenModule&, swift::AbstractStorageDecl*, swift::Lowering::SGFAccessKind, swift::AccessStrategy, swift::CanType, bool)","signatureNext":"SILGenLValue::visitMemberRefExpr"}
|
|
// RUN: not --crash %target-swift-frontend -emit-silgen %s
|
|
struct a: ~Copyable {
|
|
}
|
|
@propertyWrapper
|
|
struct b: ~Copyable {
|
|
var wrappedValue: a
|
|
}
|
|
struct c: ~Copyable {
|
|
@b var d: a
|
|
func e() {
|
|
d
|
|
}
|
|
}
|