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

15 lines
222 B
Solidity

pragma experimental SMTChecker;
contract C
{
function g() public pure {
uint x;
uint y;
(x, ) = (2, 4);
assert(x == 2);
assert(y == 4);
}
}
// ----
// Warning 6328: (132-146): Assertion violation happens here