Files
swift-mirror/test/SourceKit/InterfaceGen/Inputs/Foo2.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

45 lines
672 B
Swift

// we keep comments before the first line of code
// Keep this line
import Foundation
import Darwin
public class NewLineAfterImport {
}
/// This is the class base
public class FooOverlayClassBase {
public func f() {}
var Range = 10
private var RangePrivate : Int = 10
}
public class FooOverlayClassDerived : FooOverlayClassBase {
override public func f() {}
}
// This comment should go away
private class PrivateClassNotVisible {
}
class InternalClassVisible {
}
class IgnoreBigWhiteSpaceGap {
}
class PropWithDocComment {
/// Awesome property.
var prop = 0
/// I see doubles.
var (p1, p2) = (0, 1)
}
enum Colors {
case Red
case Blue
}