mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
24 lines
317 B
Plaintext
24 lines
317 B
Plaintext
{
|
|
function f() -> z
|
|
{
|
|
sstore(1, 15)
|
|
z := 15
|
|
}
|
|
let x := 7
|
|
let y := 8
|
|
if eq(add(x, y), f()) { }
|
|
}
|
|
// ----
|
|
// step: reasoningBasedSimplifier
|
|
//
|
|
// {
|
|
// function f() -> z
|
|
// {
|
|
// sstore(1, 15)
|
|
// z := 15
|
|
// }
|
|
// let x := 7
|
|
// let y := 8
|
|
// if eq(add(x, y), f()) { }
|
|
// }
|