- Notifications
You must be signed in to change notification settings - Fork 10.5k
/
Copy pathconformance_suppression.swift
16 lines (15 loc) · 823 Bytes
/
conformance_suppression.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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: #elseif compiler(>=5.3) && $NoncopyableGenerics
// CHECK-NEXT: public enum RecollectionOrganization<T> : Swift.Copyable where T : ~Copyable {
// CHECK-NEXT: }
// CHECK-NEXT: #else
// CHECK-NEXT: public enum RecollectionOrganization<T> {
// CHECK-NEXT: }
// CHECK-NEXT: #endif
publicenumRecollectionOrganization<T :~Copyable>:~BitwiseCopyable, Copyable {}