mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This is needed for tests which define internal functions which should not be eliminated. So far this was not needed because of a hack which prevented whole-module-optimizations for tests. Swift SVN r22658
11 lines
140 B
Swift
11 lines
140 B
Swift
|
|
public struct X {
|
|
public init() { }
|
|
}
|
|
|
|
public func the_thing<T>(#t : T) { }
|
|
|
|
public func the_thing_it_does(#x : X) {
|
|
the_thing(t: x)
|
|
}
|