mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It can now: - not validate (=none) - validate that all symbols in the IR are also in the TBD (=missing), - validate the above, and also that all in the TBD are in the IR (=all). The first and last were switched between with the old boolean flag, the second is new.
11 lines
355 B
Swift
11 lines
355 B
Swift
// 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) {}
|