solidity/test/libsolidity/smtCheckerTests/functions/functions_storage_var_1.sol
2021-04-08 21:03:39 +02:00

15 lines
158 B
Solidity

contract C
{
uint a;
function f(uint x) public {
uint y;
a = (y = x);
}
function g() public {
f(1);
assert(a > 0);
}
}
// ====
// SMTEngine: all