aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/tuples.sol
blob: 875556e9fdbb6ff01799a36e9fd94d25eb9cea51 (plain) (tree)
1
2
3
4
5
6
7
8
            
                                  
                             
                                  
                                              
                                   
                        
                          


         
contract C {
    function f() public pure {
        uint a = (1);
        (uint b,) = (1,2);
        (uint c, uint d) = (1, 2 + a);
        (uint e,) = (1, b);
        (a) = 3;
        a;b;c;d;e;
    }
}
// ----