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

9 lines
194 B
Solidity

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