Skip to content

Commit af428be

Browse files
authored
Merge pull request #17103 from brentdax/inarguable
2 parents 97dc3de + 16cc543 commit af428be

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// RUN: not --crash %target-swift-frontend %s -emit-ir
2+
3+
func foo<U>(_ x: U?) {
4+
_ = "\(anyLabelHere: x)"
5+
}
6+
7+
// This one also crashes in a slightly different place
8+
func bar(_ x: Int?) {
9+
_ = "\(anyLabelHere: x)"
10+
}

0 commit comments

Comments
 (0)