Files
swift-mirror/test/SourceKit/Inputs/libIDE-mock-sdk/Mixed.swift
Argyrios Kyrtzidis 8ff6a98a99 [sourcekit] Merge SourceKit into the Swift repo.
The code goes into its own sub-tree under 'tools' but tests go under 'test',
so that running 'check-swift' will also run all the SourceKit tests.

SourceKit is disabled on non-darwin platforms.
2015-11-05 01:09:08 -08:00

24 lines
534 B
Swift

// Do not add an import of the Clang "Mixed" module here!
@objc public class SwiftClass {
public init(x: Int) {}
public func pureSwiftMethod(x: Int?) -> Bool {
return x != nil ? true : false
}
}
class InternalClassShouldShowUp {}
public class PureSwiftClass {
public class func verify() -> Bool { return true }
}
@objc(SwiftProtoWithCustomName)
public protocol CustomNameType {}
@objc(SwiftClassWithCustomName)
public class CustomNameClass : CustomNameType {
public init() {}
@nonobjc func pureSwiftMethod() {}
}