Skip to content

Commit f76a7a1

Browse files
committed
validation-test: Add regression test for #74609
1 parent 358d6bd commit f76a7a1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: %target-swift-frontend -target %target-swift-5.9-abi-triple -emit-ir %s
2+
3+
struct Repeater<each Element> {
4+
let elements: (repeat () -> each Element)
5+
}
6+
7+
struct Box<T> {}
8+
9+
let repeater: Repeater<Box<Int>>

0 commit comments

Comments
 (0)