mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The directory currently seems to have a mix of tests for import resolution and name lookup. Therefore split it into two directories; ImportResolution and NameLookup.
11 lines
457 B
Swift
11 lines
457 B
Swift
public func something(_ obj: Int) -> Int { return obj }
|
|
public func something(_ a: Int, _ b: Int) -> (Int, Int) { return (a, b) }
|
|
public func something(_ a: Int, _ b: Int, _ c: Int) -> (Int, Int, Int) { return (a, b, c) }
|
|
|
|
public func ambiguousWithVar(_: Int) {}
|
|
public func scopedVar(_: Int) {}
|
|
public func localVar(_: Int) {}
|
|
public func scopedFunction(_ value: Int) -> Int { return value }
|
|
|
|
public func TypeNameWins(_ value: Int) -> Int { return value }
|