Files
swift-mirror/test/ModuleInterface/bitwise_copyable.swift
Nate Chandler bd4809593b [BitwiseCopyable] Don't infer for noncopyable.
This bailout was accidentally removed in
https://github.com/apple/swift/pull/72856 when removing a duplicative
diagnostic.

rdar://126135770
2024-04-09 07:50:36 -07:00

12 lines
433 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name Test -enable-experimental-feature BitwiseCopyable
// RUN: %FileCheck %s < %t.swiftinterface
// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name Test
@frozen
@_moveOnly
public struct S_Implicit_Noncopyable {}
// CHECK-NOT: extension Test.S_Implicit_Noncopyable : Swift._BitwiseCopyable {}