mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fixes SE-9233, a crash due to a failure to validate a storage declaration within a protocol when generating a call to an initiializer.
9 lines
263 B
Swift
9 lines
263 B
Swift
// RUN: %target-swift-frontend -emit-ir -module-name test %S/Inputs/protocol-extension-init-helper.swift -primary-file %s
|
|
|
|
// SE-9233: compute layout when emitting an other-constructor reference
|
|
extension P {
|
|
public init(possibly: Bool) {
|
|
self.init()
|
|
}
|
|
}
|