aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/247_multi_variable_declaration_wildcards_fail_6.sol
blob: cc5953db07ea83f8aaa9f3efdd8ddb2bd2100e4c (plain) (blame)
1
2
3
4
5
6
7
contract C {
    function two() public returns (uint, uint);
    function f() public { (uint a, uint b, uint c) = two(); }
}
// ----
// Warning: (87-119): Different number of components on the left hand side (3) than on the right hand side (2).
// TypeError: (87-119): Not enough components (2) in value to assign all variables (3).