solidity/test/libsolidity/smtCheckerTests/types/tuple_declarations.sol

12 lines
152 B
Solidity

pragma experimental SMTChecker;
contract C
{
function g() public pure {
(uint x, uint y) = (2, 4);
assert(x == 2);
assert(y == 4);
}
}
// ----