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

8 lines
183 B
Solidity

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