mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
360 B
Solidity
14 lines
360 B
Solidity
contract C {
|
|
function test() public pure {
|
|
uint x;
|
|
if ((2**255 + 2**255) % 7 != addmod(2**255, 2**255, 7)) x = 1;
|
|
if ((2**255 + 2**255) % 7 != addmod(2**255, 2**255, 7)) x = 2;
|
|
assert(x == 0);
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 6838: (60-110): BMC: Condition is always false.
|
|
// Warning 6838: (125-175): BMC: Condition is always false.
|