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

9 lines
206 B
Solidity

contract test {
function f() pure public {
x = 4;
uint256 x = 2;
}
}
// ----
// DeclarationError 7576: (55-56): Undeclared identifier. "x" is not (or not yet) visible at this point.