solidity/test/libsolidity/syntaxTests/scoping/scoping_self_use.sol
2022-04-01 23:41:18 -05:00

8 lines
192 B
Solidity

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