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

9 lines
194 B
Solidity
Raw Normal View History

2018-03-15 23:47:12 +00:00
contract test {
function f() pure public {
x = 3;
uint x;
}
}
2018-06-15 10:30:28 +00:00
// ----
// DeclarationError: (55-56): Undeclared identifier. "x" is not (or not yet) visible at this point.