mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Just checking for LiteralExpr is too broad, because Sema doesn't know what to do with RegexLiteralExpr for example.
4 lines
164 B
Swift
4 lines
164 B
Swift
// {"signature":"deriveBodyRawRepresentable_init(swift::AbstractFunctionDecl*, void*)"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
a enum a : Int { case = #/
|