Skip to content

Commit 5c77d88

Browse files
authored
Merge pull request #20359 from xedin/rdar-41331096
[IDE] NFC: Add a test-case for a fixed SourceKit crasher
2 parents 6952909 + 0a3f666 commit 5c77d88

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// RUN: %target-swift-ide-test -code-completion -code-completion-token=A -source-filename=%s
2+
3+
enum E1 {
4+
case X
5+
case Y
6+
}
7+
enum E2 {
8+
case A
9+
case B
10+
case C
11+
}
12+
13+
func foo() -> ([E1], [E2]) {
14+
return ([.X], [.A, .B, .#^A^#])
15+
}

0 commit comments

Comments
 (0)