solidity/test/libsolidity/syntaxTests/scoping/scoping_self_use_050.sol

9 lines
184 B
Solidity
Raw Normal View History

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