solidity/test/libsolidity/syntaxTests/scoping/scoping.sol
2018-06-20 12:53:38 +02:00

11 lines
169 B
Solidity

contract test {
function f() public {
{
uint256 x;
}
x = 2;
}
}
// ----
// DeclarationError: (93-94): Undeclared identifier.