# Make a local copy of the substitutions.
config.substitutions = list(config.substitutions)

config.substitutions.insert(0, ('%build-irgen-test-overlays',
  '%target-swift-frontend -emit-module -o %t -sdk %S/Inputs %S/Inputs/ObjectiveC.swift && '
  '%target-swift-frontend -emit-module -o %t -sdk %S/Inputs %S/Inputs/Foundation.swift'))

# Make a local copy of the substitutions.
config.substitutions = list(config.substitutions)

config.substitutions.insert(0, ('%build-irgen-test-overlays',
  '%target-swift-frontend -emit-module -o %t -sdk %S/Inputs %S/Inputs/ObjectiveC.swift && '
  '%target-swift-frontend -emit-module -o %t -sdk %S/Inputs %S/Inputs/Foundation.swift -I %t'))

Build the Foundation IRGen overlay in context of the ObjectiveC one.
[test] Build the Foundation IRGen overlay in context of the ObjectiveC one.

Previously this fell through to the real overlay, which is not what we want.
We really should stop doing this so ad hoc at some point.

Swift SVN r28600
