mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
259 B
Plaintext
10 lines
259 B
Plaintext
|
{
|
||
|
switch 1
|
||
|
case 8: invalidType {}
|
||
|
}
|
||
|
// ====
|
||
|
// dialect: evmTyped
|
||
|
// ----
|
||
|
// TypeError: (24-38): Expected a value of type "u256" but got "invalidType"
|
||
|
// TypeError: (24-38): "invalidType" is not a valid type (user defined types are not yet supported).
|