mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
This was resolved by https://github.com/swiftlang/llvm-project/pull/9251. rdar://127262612
9 lines
235 B
Swift
9 lines
235 B
Swift
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck %s -verify
|
|
|
|
import enums_using_attributes
|
|
|
|
func testEvent(event: Event) {
|
|
if event == .`init` { print("Initialize") }
|
|
if event == .reset { print("Reset") }
|
|
}
|