aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/tupleAssignments/warn_fill_assignment.sol
blob: a079a50949bb1b2d0d788d612cd39a821ff27768 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
contract C {
    function f() public pure returns (uint, uint, bytes32) {
        uint a;
        bytes32 b;
        (a,) = f();
        (,b) = f();
    }
}
// ----
// Warning: (96-106): Different number of components on the left hand side (2) than on the right hand side (3).
// Warning: (110-120): Different number of components on the left hand side (2) than on the right hand side (3).