solidity/test/libyul/yulSyntaxTests/switch_statement_duplicate_case.yul

11 lines
144 B
Plaintext

{
switch 42
case 1 {}
case 1 {}
default {}
}
// ====
// dialect: evm
// ----
// DeclarationError 6792: (25-34): Duplicate case "1" defined.