solidity/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationComplex.sol
Daniel Kirchner 62645d5302 Update tests.
2018-07-12 20:33:52 +02:00

12 lines
240 B
Solidity

contract D {
struct S { uint a; uint b; }
}
contract C {
function f() internal pure {
(,,,D.S[10*2] storage x,) = g();
x;
}
function g() internal pure returns (uint, uint, uint, D.S[20] storage x, uint) { x = x; }
}
// ----