solidity/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationInvalid.sol

9 lines
191 B
Solidity

contract C {
function f() internal returns (uint, uint, uint, uint) {
var (uint a, uint b,,) = f();
a; b;
}
}
// ----
// ParserError: (81-85): Expected identifier but got 'uint'