mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
571 B
Solidity
17 lines
571 B
Solidity
|
pragma experimental SMTChecker;
|
||
|
|
||
|
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);
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning 1218: (118-143): CHC: Error trying to invoke SMT solver.
|
||
|
// Warning 1218: (183-208): CHC: Error trying to invoke SMT solver.
|
||
|
// Warning 1218: (219-233): CHC: Error trying to invoke SMT solver.
|
||
|
// Warning 6838: (93-143): BMC: Condition is always false.
|
||
|
// Warning 6838: (158-208): BMC: Condition is always false.
|