Files
swift-mirror/validation-test/compiler_crashers_2_fixed/issue-54005.swift

16 lines
243 B
Swift

// RUN: not %target-swift-frontend -typecheck %s
// https://github.com/apple/swift/issues/54005
@propertyWrapper struct A {
var wrappedValue: Int
}
@propertyWrapper struct B {
var wrappedValue: Int
}
struct C {
@A @B var foo: Int?
}