aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationComplex.sol
blob: ba6e99163e2fe93b39109f6dae245bee6dc224e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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; }
}
// ----