Files
swift-mirror/test/SourceKit/Indexing/index_constructors.swift
Bruno Rocha bf84b297f8 [SourceKit] Allow module references to be indexed (#19243)
Module references get indexed as a 'module' symbol; they get USRs similar to how clang would assign a USR for a module reference.

JIRA: https://bugs.swift.org/browse/SR-8677
2018-09-28 12:21:38 -07:00

13 lines
318 B
Swift

// REQUIRES: objc_interop
// RUN: %sourcekitd-test -req=index %s -- %s %S/Inputs/index_constructors_other.swift -module-name index_constructors | %sed_clean > %t.response
// RUN: diff -u %s.response %t.response
import Foundation
class HorseObject : DogObject {
var name: NSString
@objc public func flip() {}
}