solidity/test/libyul/yulSyntaxTests/switch_duplicate_case.yul
2022-04-01 23:41:18 -05:00

10 lines
172 B
Plaintext

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