mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I did this using a sed pattern and verified by hand that I was only touching target-swift-emit-silgen lines.
9 lines
169 B
Swift
9 lines
169 B
Swift
// RUN: %target-swift-emit-silgen -verify %s
|
|
|
|
protocol P {}
|
|
|
|
func for_loop_tuple_destructure_reabstraction(_ x: [(P, P.Protocol)]) {
|
|
for (a, b) in x { _ = (a, b) }
|
|
}
|
|
|