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