mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
7 lines
171 B
Solidity
7 lines
171 B
Solidity
contract B {
|
|
function f() mod(x) pure public { uint x = 7; }
|
|
modifier mod(uint a) { if (a > 0) _; }
|
|
}
|
|
// ----
|
|
// DeclarationError: (34-35): Undeclared identifier.
|