Files
swift-mirror/test/SIL/Serialization/Inputs/shared_function_serialization_input.swift
Erik Eckstein e59c4b6eb7 Add -primary-file options to prevent whole-module-optimizations.
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
2014-10-10 09:51:48 +00:00

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)
}