Skip to content

Commit 03c1259

Browse files
authored
Merge pull request #8985 from nathawes/rdar31758709-cursor-info-crasher
2 parents cbd62cb + 6b58cd7 commit 03c1259

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+
// Checks that we don't crash
2+
// RUN: %sourcekitd-test -req=cursor -pos=8:19 %s -- %s | %FileCheck %s
3+
// CHECK: source.lang.swift.ref.class
4+
5+
class ImageSet {
6+
class StandImageSet {}
7+
func foo() {
8+
/*here:*/StandImageSet()
9+
}
10+
}

0 commit comments

Comments
 (0)