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

12 lines
240 B
Solidity
Raw Normal View History

contract D {
struct S { uint a; uint b; }
}
contract C {
2018-07-04 16:35:01 +00:00
function f() internal pure {
(,,,D.S[10*2] storage x,) = g();
x;
}
2018-07-04 16:35:01 +00:00
function g() internal pure returns (uint, uint, uint, D.S[20] storage x, uint) { x = x; }
}
// ----