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

9 lines
184 B
Solidity

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