mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
201 B
Solidity
8 lines
201 B
Solidity
pragma experimental "v0.5.0";
|
|
contract B {
|
|
function f() mod(x) pure public { uint x = 7; }
|
|
modifier mod(uint a) { if (a > 0) _; }
|
|
}
|
|
// ----
|
|
// DeclarationError: (64-65): Undeclared identifier.
|