solidity/test/libyul/yulSyntaxTests/switch_invalid_expr_3.yul

10 lines
180 B
Plaintext
Raw Normal View History

{
switch mstore(1, 1)
case 1 {}
default {}
}
// ====
// dialect: evm
// ----
// TypeError 3950: (10-22): Expected expression to evaluate to one value, but got 0 values instead.