blob: b72f64516c22169f5c23ff39d611ff55c15c7d92 [file] [log] [blame]
// RUN: %target-resilience-test --backward-deployment
// REQUIRES: executable_test
// SR-10913
// UNSUPPORTED: OS=windows-msvc
import StdlibUnittest
import backward_deploy_top_level
var BackwardDeployTopLevelTest = TestSuite("BackwardDeployTopLevel")
BackwardDeployTopLevelTest.test("TopLevel") {
if getVersion() == 1 {
topLevelFunction(storedGlobal)
topLevelFunction(computedGlobal)
storedGlobal += 1
computedGlobal += 1
}
}
runAllTests()