mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Tune the suite.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
let x := 0
|
||||
switch mload(x)
|
||||
case 0 { x := x }
|
||||
case 1 { x := 1 }
|
||||
default { invalid() }
|
||||
mstore(1, 1)
|
||||
}
|
||||
// ====
|
||||
// step: fullSuite
|
||||
// ----
|
||||
// {
|
||||
// {
|
||||
// switch mload(0)
|
||||
// case 0 { }
|
||||
// case 1 { }
|
||||
// default { invalid() }
|
||||
// mstore(1, 1)
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user