solidity/test/libyul/yulSyntaxTests/switch_statement_duplicate_case.yul
2020-11-04 12:03:33 +01:00

11 lines
140 B
Plaintext

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