blob: 6e6c5578abcd5fb92968d9afd13255e9986fd00a [file] [log] [blame]
@_weakLinked
public func fn() {}
@_weakLinked
public var globalStored = 0
@_weakLinked
public var globalComputed: Int {
get { return 1 }
set {}
}
public struct S {
@_weakLinked
public func fn() {}
@_weakLinked
public var storedProp = 0
@_weakLinked
public var computedProp: Int {
get { return 1 }
set {}
}
@_weakLinked
public init() {}
@_weakLinked
public subscript(_: Int) -> Int {
get { return 1 }
set {}
}
}
public enum E {
case strong
@_weakLinked
case weak
case strongAssoc(Int)
@_weakLinked
case weakAssoc(Int)
}
open class C {
@_weakLinked
open func fn() {}
@_weakLinked
open var storedProp = 0
@_weakLinked
open var computedProp: Int {
get { return 1 }
set {}
}
@_weakLinked
public init() {}
@_weakLinked
open subscript(_: Int) -> Int {
get { return 1 }
set {}
}
}
public protocol P {
@_weakLinked
func fn()
@_weakLinked
var prop: Int { get set }
@_weakLinked
init()
@_weakLinked
subscript(_: Int) -> Int { get set }
}
@_weakLinked
public struct WeakS {}
@_weakLinked
public enum WeakE {}
@_weakLinked
open class WeakC {}
@_weakLinked
public protocol WeakP {}
@_weakLinked
public struct GenericS<T> {}
@_weakLinked
public enum GenericE<T> {}
@_weakLinked
open class GenericC<T> {}