mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add tests for multi variable declaration statement.
This commit is contained in:
committed by
Alex Beregszaszi
parent
67d208d144
commit
c781baf733
+12
@@ -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.
|
||||
Reference in New Issue
Block a user