mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
251 B
Solidity
7 lines
251 B
Solidity
contract C {
|
|
function one() public returns (uint);
|
|
function f() public { var (,) = one(); }
|
|
}
|
|
// ----
|
|
// TypeError: (81-96): Wildcard both at beginning and end of variable declaration list is only allowed if the number of components is equal.
|