Add tests for multi variable declaration statement.

This commit is contained in:
chriseth
2018-05-16 03:52:24 +02:00
committed by Alex Beregszaszi
parent 67d208d144
commit c781baf733
9 changed files with 107 additions and 0 deletions
@@ -0,0 +1,12 @@
pragma experimental "v0.5.0";
contract C {
function f() internal {
{
(uint a, uint b, uint c) = (1, 2, 3);
}
a;
}
}
// ----
// DeclarationError: (130-131): Undeclared identifier.