blob: b7e87ca28c408779905cf4be00a156c32bb064cb [file] [log] [blame]
public func getVersion() -> Int {
#if BEFORE
return 0
#else
return 1
#endif
}
public protocol P {
static func compute() -> Int
}
public struct A : P {
public init() {}
public static func compute() -> Int {
return 42
}
}
#if BEFORE
public struct S<T: P> {
public init() {}
}
#else
public struct S<T: P> {
public init() {
question = "Ultimate Question"
}
public var question: String
}
#endif