solidity/test/libsolidity/syntaxTests/scoping/scoping_activation.sol
2018-04-10 14:08:22 +02:00

10 lines
195 B
Solidity

pragma experimental "v0.5.0";
contract test {
function f() pure public {
x = 3;
uint x;
}
}
// ----
// DeclarationError: (85-86): Undeclared identifier. Did you mean "x"?