mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
201 B
Swift
9 lines
201 B
Swift
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership -verify %s
|
|
|
|
protocol P {}
|
|
|
|
func for_loop_tuple_destructure_reabstraction(_ x: [(P, P.Protocol)]) {
|
|
for (a, b) in x { _ = (a, b) }
|
|
}
|
|
|