mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
1f008fb0d0
And update tests to use them. This commit depends on fixes in swiftlang/swift PRs #86905, #87129, and #87130. Fixes rdar://169749886.
17 lines
616 B
Swift
17 lines
616 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name Test
|
|
// RUN: %FileCheck %s < %t.swiftinterface
|
|
// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name Test
|
|
|
|
|
|
@frozen
|
|
public struct S_Implicit_Noncopyable: ~Copyable {}
|
|
|
|
// CHECK-NOT: extension Test::S_Implicit_Noncopyable : Swift::BitwiseCopyable {}
|
|
|
|
// CHECK: public protocol BitwiseCopyable {
|
|
// CHECK-NEXT: }
|
|
// CHECK-NEXT: public typealias _BitwiseCopyable = Test::BitwiseCopyable
|
|
public protocol BitwiseCopyable {}
|
|
public typealias _BitwiseCopyable = BitwiseCopyable
|