solidity/test/libsolidity/smtCheckerTests/special/msg_value_1.sol

12 lines
466 B
Solidity
Raw Normal View History

2021-01-20 10:22:28 +00:00
contract C {
function f() public payable {
assert ((5 + msg.value + msg.value) - (4 + msg.value) > 0);
}
}
2021-03-31 15:11:54 +00:00
// ====
// SMTEngine: all
2021-01-20 10:22:28 +00:00
// ----
2023-02-09 16:07:13 +00:00
// 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.