mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
377 B
Solidity
14 lines
377 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
function f(address a, address b) public view {
|
|
uint x = b.balance + 1000 ether;
|
|
assert(a.balance > b.balance);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 2072: (96-102): Unused local variable.
|
|
// Warning 2661: (105-127): Overflow (resulting value larger than 2**256 - 1) happens here
|
|
// Warning 4661: (131-160): Assertion violation happens here
|