aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/multiVariableDeclaration/multiVariableDeclarationScoping.sol
blob: 1f9e52d13dcdf0d7e79d420c49f978c607817b75 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
contract C {
  function f() internal {
    {
      (uint a, uint b, uint c) = (1, 2, 3);
    }
    a;
  }
}
// ----
// DeclarationError: (99-100): Undeclared identifier.