mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The signatures have changed here either due to code changes in the repo or due to improvements to the signature detection, update the test cases.
5 lines
476 B
Swift
5 lines
476 B
Swift
// {"kind":"typecheck","signature":"createEnumSwitch(swift::ASTContext&, swift::DeclContext*, swift::Expr*, swift::EnumDecl*, swift::EnumDecl*, bool, std::__1::function<std::__1::tuple<swift::EnumElementDecl*, swift::BraceStmt*> (swift::EnumElementDecl*, swift::EnumElementDecl*, llvm::ArrayRef<swift::VarDecl*>)>)"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
enum a : Codable { case x( x : Int b : Double enum XCodingKeys : CodingKey{
|
|
x case x case b let c = a
|