solidity/test/libsolidity/smtCheckerTests/functions/functions_identity_2.sol
2021-04-20 17:38:29 +02:00

20 lines
252 B
Solidity

contract C
{
function h(uint x) public pure returns (uint) {
return k(x);
}
function k(uint x) public pure returns (uint) {
return x;
}
function g() public pure {
uint x;
x = h(2);
assert(x > 0);
}
}
// ====
// SMTEngine: all
// ----