solidity/test/libsolidity/syntaxTests/scoping/scoping.sol

11 lines
169 B
Solidity
Raw Normal View History

2018-03-15 23:47:12 +00:00
contract test {
function f() public {
{
uint256 x;
}
x = 2;
}
}
// ----
2018-06-15 10:30:28 +00:00
// DeclarationError: (93-94): Undeclared identifier.