Files
swift-mirror/validation-test/Evolution/test_backward_deploy_top_level.swift
Slava Pestov 6798eea160 Evolution: Some of these tests pass with swift_test_mode_optimize_none_with_implicit_dynamic
The remaining failures still warrant investigation.
2019-06-11 00:54:32 -07:00

24 lines
467 B
Swift

// 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()