Files
swift-mirror/test/SourceKit/CursorInfo/rdar_21790830.swift
Ben Langmuir 503887c5f2 [SourceKit] Split SourceDocInfo tests into CursorInfo and RelatedIdents subdirectories
Unless you're familiar with the way the swift source code is organized,
it's not clear what "SourceDocInfo" means, or how it is different from
DocSupport, etc.  Move the tests into directories that are named based
on their request (note: we already had one test under CursorInfo, which
just made things even more confusing).
2016-03-17 16:31:46 -07:00

7 lines
131 B
Swift

extension Undeclared {
func foo() {}
}
// RUN: %sourcekitd-test -req=cursor -pos=2:8 %s -- %s
// CHECK: <Declaration>func foo()