solidity/test/libyul/yulSyntaxTests/switch_case_string_literal_too_long.yul

10 lines
175 B
Plaintext
Raw Normal View History

{
let x:u256
switch x
case "012345678901234567890123456789012":u256 {}
}
// ====
// dialect: evmTyped
// ----
// TypeError 3069: (30-70): String literal too long (33 > 32)