2019-04-26 12:57:29 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C
|
|
|
|
{
|
|
|
|
function f() public pure {
|
|
|
|
uint a = 1;
|
|
|
|
uint b = 3;
|
|
|
|
a += ((((b))));
|
|
|
|
assert(a == 3);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// Warning 4661: (122-136): Assertion violation happens here
|