blob: 53186dd8062e6b9a4f5c3e1c5f69c5aadcd37ea7 [file] [log] [blame] [edit]
import Foundation
public class MyClass {
public init(y: Int) throws {}
public func voidMethod() throws {}
public func intMethod(y: Int) throws -> MyClass { return try MyClass(y: 123) }
}
public func voidFunc(x: Int, y: Int) throws {}
public func intFunc() throws -> MyClass { return try MyClass(y: 123) }