mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract yul syntax tests: switch statement
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
let x:u256
|
||||
switch x
|
||||
case "012345678901234567890123456789012":u256 {}
|
||||
}
|
||||
// ====
|
||||
// dialect: evmTyped
|
||||
// ----
|
||||
// TypeError 3069: (30-70): String literal too long (33 > 32)
|
||||
Reference in New Issue
Block a user