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

11 lines
242 B
Solidity

contract C {
function f(uint x, uint y) public pure returns (uint) {
return x + y;
}
}
// ====
// SMTEngine: all
// SMTIgnoreCex: yes
// ----
// Warning 4984: (80-85): CHC: Overflow (resulting value larger than 2**256 - 1) happens here.