mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
15 lines
702 B
Swift
15 lines
702 B
Swift
// Variant of Interpreter/objc_implementation.swift that tests resilient stored properties.
|
|
// Will not execute correctly without ObjC runtime support.
|
|
// REQUIRES: rdar109171643
|
|
|
|
// RUN: %target-run-simple-swift(-import-objc-header %S/Inputs/objc_implementation.h -D RESILIENCE -swift-version 5 -enable-experimental-feature ObjCImplementationWithResilientStorage -target %target-future-triple %S/objc_implementation.swift) | %FileCheck %S/objc_implementation.swift --check-prefixes CHECK,CHECK-RESILIENCE
|
|
// REQUIRES: executable_test
|
|
// REQUIRES: objc_interop
|
|
// REQUIRES: swift_feature_ObjCImplementationWithResilientStorage
|
|
|
|
@main struct Main {
|
|
static func main() {
|
|
ImplClass.runTests()
|
|
}
|
|
}
|