mirror of
https://github.com/apple/swift.git
synced 2026-10-28 21:15:56 +01:00
9 lines
579 B
Swift
9 lines
579 B
Swift
// {"kind":"emit-silgen","original":"20252719","signature":"swift::Lowering::Conversion::emit(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::Lowering::SGFContext) const","signatureAssert":"Assertion failed: (value.getType().getObjectType() == getReabstractionInputLoweredType().getObjectType()), function emit","signatureNext":"Lowering::SILGenFunction::emitConvertedRValue"}
|
|
// RUN: not --crash %target-swift-frontend -emit-silgen %s
|
|
extension Array {
|
|
typealias a = (Element) -> Bool
|
|
func b(c: borrowing a) {
|
|
filter(c)
|
|
}
|
|
}
|