Files
swift-mirror/test/multifile/protocol-extension-init.swift
John McCall 05c951fdc9 Compute layout when emitting an other-constructor reference.
Fixes SE-9233, a crash due to a failure to validate a storage
declaration within a protocol when generating a call to an
initiializer.
2018-11-13 16:35:26 -05:00

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()
}
}