mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
11 lines
586 B
Swift
11 lines
586 B
Swift
// {"kind":"emit-silgen","signature":"emitRawApply(swift::Lowering::SILGenFunction&, swift::SILLocation, swift::Lowering::ManagedValue, swift::SubstitutionMap, llvm::ArrayRef<swift::Lowering::ManagedValue>, swift::CanTypeWrapper<swift::SILFunctionType>, swift::optionset::OptionSet<swift::ApplyFlags, unsigned char>, llvm::ArrayRef<swift::SILValue>, swift::SILValue, llvm::SmallVectorImpl<swift::SILValue>&, swift::Lowering::ExecutorBreadcrumb)"}
|
|
// RUN: not %target-swift-frontend -emit-silgen %s
|
|
protocol a {
|
|
func b() -> [(_) -> Self]
|
|
}
|
|
do {
|
|
func c(d : a) {
|
|
let e = d.b
|
|
}
|
|
}
|