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

10 lines
180 B
Plaintext

{
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.