mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
315 B
Swift
12 lines
315 B
Swift
// RUN: %target-swift-frontend -emit-silgen -enable-sil-ownership %s | %FileCheck %s
|
|
|
|
// CHECK-LABEL: sil hidden @_T022enum_generic_raw_value1EO
|
|
enum E<T>: Int {
|
|
case A = 1
|
|
}
|
|
|
|
// CHECK-LABEL: sil hidden @_T022enum_generic_raw_value1FO
|
|
enum F<T: ExpressibleByIntegerLiteral where T: Equatable>: T {
|
|
case A = 1
|
|
}
|