solidity/test/libsolidity/smtCheckerTests/special/msg_value_1.sol
2023-03-09 14:59:32 +01:00

12 lines
466 B
Solidity

contract C {
function f() public payable {
assert ((5 + msg.value + msg.value) - (4 + msg.value) > 0);
}
}
// ====
// SMTEngine: all
// ----
// Warning 4984: (55-68): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
// Warning 4984: (55-80): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.
// Info 1391: CHC: 3 verification condition(s) proved safe! Enable the model checker option "show proved safe" to see all of them.