aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationSimple.sol
blob: a2fcce182cd5579e040f46b4f222a20255fe2121 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
contract C {
  function f() internal pure returns (uint, uint, uint, uint) {
    (uint a, uint b,,) = f();
    a; b;
  }
  function g() internal pure {
    (bytes memory a, string storage b) = h();
    a; b;
  }
  function h() internal pure returns (bytes memory, string storage s) { s = s; }
}
// ----