Files
swift-mirror/validation-test/Evolution/test_struct_change_lazy_to_computed.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

18 lines
353 B
Swift

// RUN: %target-resilience-test
// REQUIRES: executable_test
import StdlibUnittest
import struct_change_lazy_to_computed
var ChangeLazyToComputedTest = TestSuite("ChangeLazyToComputed")
ChangeLazyToComputedTest.test("ChangeLazyToComputed") {
do {
var t = ChangeLazyToComputed(celsius: 0)
expectEqual(t.fahrenheit, 32)
}
}
runAllTests()