aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/multiVariableDeclaration/sameNumberOfComponents.sol
blob: 59eb34af6329e4525b103bc70dd3f1069f362b3a (plain) (blame)
1
2
3
4
5
6
7
8
9
contract C {
    function f() public pure {
        (uint a1, uint b1, uint c1, uint d1) = (1,2,3,4);
        (uint a2, uint b2, uint c2) = (1,2,3);
        (uint a3, uint b3) = (1,2);
        a1; b1; c1; d1; a2; b2; c2; a3; b3;
    }
}
// ----