Skip to content

Commit 3c64029

Browse files
committed
Merge pull request #1690 from dduan/crasher-2-0041
[Sema] add a crasher
2 parents 01fe7e4 + f1a1b0e commit 3c64029

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: not --crash %target-swift-frontend %s -parse
2+
3+
extension Collection {
4+
func f() -> [Generator.Element] {
5+
return Array(self.prefix(0))
6+
}
7+
}

0 commit comments

Comments
 (0)