mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
16 lines
384 B
Swift
16 lines
384 B
Swift
public struct S1 {
|
|
public init(_ : Double) {}
|
|
mutating public func foo1() {}
|
|
mutating public func foo2() {}
|
|
public static func foo3() {}
|
|
public func foo4() {}
|
|
public func foo5(x : Int, y: Int, z: Int) {}
|
|
}
|
|
|
|
public class C1 {
|
|
public func foo1() {}
|
|
public func foo2(_ : ()->()) {}
|
|
public var CIIns1 : C1?
|
|
public weak var CIIns2 : C1?
|
|
public func foo3(a : ()?) {}
|
|
} |