mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It is no longer necessary to produce `.swiftinterface` files the support older compilers that lack support for the NoncopyableGenerics feature. Cleaning this up makes the stdlib `.swiftinterface` far more readable.
14 lines
686 B
Swift
14 lines
686 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name Mojuel
|
|
// RUN: %FileCheck %s < %t.swiftinterface
|
|
// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface -module-name Mojuel)
|
|
|
|
// CHECK: #if compiler(>=5.3) && $ConformanceSuppression
|
|
// CHECK-NEXT: public enum RecollectionOrganization<T> : ~Swift.BitwiseCopyable, Swift.Copyable where T : ~Copyable {
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: #else
|
|
// CHECK-NEXT: public enum RecollectionOrganization<T> : Swift.Copyable where T : ~Copyable {
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: #endif
|
|
public enum RecollectionOrganization<T : ~Copyable> : ~BitwiseCopyable, Copyable {}
|