Files
swift-mirror/test/Frontend/bitwise-copyable-flag.swift
Nate Chandler b266abe5c0 [BitwiseCopyable] Add a marker protocol.
Behind the experimental feature BitwiseCopyable.
2023-11-30 15:25:46 -08:00

10 lines
334 B
Swift

// RUN: %target-swift-frontend \
// RUN: -enable-experimental-feature BitwiseCopyable \
// RUN: %s \
// RUN: -typecheck -verify
// Verify that the BitwiseCopyable feature flag works both in asserts and noasserts builds.
struct S : _BitwiseCopyable {
}