solidity/test/libsolidity/smtCheckerTests/types/tuple_assignment_compound.sol
2020-07-23 18:49:03 +02:00

14 lines
212 B
Solidity

pragma experimental SMTChecker;
contract C
{
function f() public pure {
uint a = 1;
uint b = 3;
a += ((((b))));
assert(a == 3);
}
}
// ----
// Warning 6328: (122-136): Assertion violation happens here