// RUN: %target-swift-frontend -emit-ir -o- -parse-as-library -module-name test -validate-tbd-against-ir=all %s

public func publicNoArgs() {}
public func publicSomeArgs(_: Int, x: Int) {}

internal func internalNoArgs() {}
internal func internalSomeArgs(_: Int, x: Int) {}

private func privateNoArgs() {}
private func privateSomeArgs(_: Int, x: Int) {}

// RUN: %target-swift-frontend -emit-ir -o- -parse-as-library -module-name test -validate-tbd-against-ir=all %s

public func publicNoArgs() {}
public func publicSomeArgs(_: Int, x: Int) {}
public func publicWithDefault(_: Int = 0) {}

internal func internalNoArgs() {}
internal func internalSomeArgs(_: Int, x: Int) {}
internal func internalWithDefault(_: Int = 0) {}

private func privateNoArgs() {}
private func privateSomeArgs(_: Int, x: Int) {}
private func privateWithDefault(_: Int = 0) {}

Add test for default argument generators
TBD: Add test for default argument generators
