mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
207 B
Solidity
14 lines
207 B
Solidity
pragma experimental SMTChecker;
|
|
|
|
contract C
|
|
{
|
|
function f() public pure {
|
|
uint a = 1;
|
|
uint b = 3;
|
|
a += ((((b))));
|
|
assert(a == 3);
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (122-136): Assertion violation happens here
|