solidity/test/libyul/yulSyntaxTests/switch_duplicate_case.yul

10 lines
153 B
Plaintext
Raw Permalink Normal View History

{
switch 0:u256
case 0:u256 {}
case 0x0:u256 {}
}
// ====
// dialect: evmTyped
// ----
// DeclarationError 6792: (34-50): Duplicate case "0" defined.