Files
swift-mirror/test/ImportResolution/Inputs/overload_intFunctions.swift
Hamish Knight 5b99c2020f NFC: Re-organize NameBinding tests
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.
2020-03-29 18:51:09 -07:00

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 }