mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Failing test.
This commit is contained in:
parent
75ac1f4e0d
commit
3c737ea8dc
@ -0,0 +1,22 @@
|
||||
{
|
||||
let x := 0
|
||||
for {} sload(0) { let t := 0 } {
|
||||
x := 0
|
||||
if calldataload(0) { x := 2 continue }
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// step: commonSubexpressionEliminator
|
||||
//
|
||||
// {
|
||||
// let x := 0
|
||||
// for { } sload(0) { let t := 0 }
|
||||
// {
|
||||
// x := 0
|
||||
// if calldataload(x)
|
||||
// {
|
||||
// x := 2
|
||||
// continue
|
||||
// }
|
||||
// }
|
||||
// }
|
Loading…
Reference in New Issue
Block a user