Skip to content

Commit c614b60

Browse files
authored
Merge pull request #10868 from xedin/rdar33067102-crasher
2 parents 659e170 + 70deaa8 commit c614b60

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// RUN: not %target-swift-frontend -swift-version 4 %s -typecheck
2+
3+
func flatterMap(_ records: [((Int))]) -> [Int] {
4+
records.flatMap { _ in return 1 } // expected-note {{}}
5+
}

0 commit comments

Comments
 (0)