aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/tupleAssignments/warn_fill_vardecl.sol
blob: 23484567ee84b95fc6611bae012f6fa473cf53dc (plain) (blame)
1
2
3
4
5
6
7
8
contract C {
    function f() public pure returns (uint, uint, uint, uint) {
        (uint a, uint b,) = f();
        a; b;
    }
}
// ----
// Warning: (76-99): Different number of components on the left hand side (3) than on the right hand side (4).