solidity/test/libsolidity/syntaxTests/scoping/scoping_self_use_050.sol
2018-03-16 00:47:32 +01:00

9 lines
175 B
Solidity

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