mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
(currently spelled with an underscore to indicate its WIP state) Later commits will handle imported enums correctly and implement the checks for switch cases.
6 lines
271 B
Swift
6 lines
271 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
@_frozen public enum Exhaustive {} // expected-warning {{@_frozen has no effect without -enable-resilience}} {{1-10=}}
|
|
|
|
@_frozen enum NotPublic {} // expected-warning {{@_frozen has no effect without -enable-resilience}} {{1-10=}}
|