Skip to content

Commit c631bf6

Browse files
committed
[NFC] Tests: Add a test case for #71376
1 parent 7896423 commit c631bf6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/IRGen/variadic_generic_captures.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,8 @@ public func has_witness_table_pack2<each T: Sequence>(t: repeat each T) -> () ->
6565
where repeat (each T).Element: Sequence {
6666
return { _ = (repeat (each T).Element.Element).self }
6767
}
68+
69+
// https://github.com/apple/swift/issues/71455
70+
func f<each T>(t: (repeat each T)) {
71+
let tup = (repeat ((each T).self, each t))
72+
}

0 commit comments

Comments
 (0)