blob: 02c03aa1b2fb0f35100f610de81cbb9497bf09a7 [file] [log] [blame]
// RUN: %target-resilience-test
// REQUIRES: executable_test
// Use swift-version 4.
// UNSUPPORTED: swift_test_mode_optimize_none_with_implicit_dynamic
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()