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

22 lines
401 B
Swift

// RUN: %target-resilience-test
// REQUIRES: executable_test
import StdlibUnittest
import struct_add_property_attribute
var AddPropertyAttribute = TestSuite("AddPropertyAttribute")
AddPropertyAttribute.test("AddPropertyAttribute") {
do {
let x = MathClass()
let y = MathClass()
let a = Attributed(x: x, y: y)
expectTrue(x === a.x)
expectTrue(y === a.y)
}
}
runAllTests()