solidity/test/libsolidity/syntaxTests/modifiers/function_modifier_invocation_local_variables.sol

7 lines
176 B
Solidity

contract B {
function f() mod(x) pure public { uint x = 7; }
modifier mod(uint a) { if (a > 0) _; }
}
// ----
// DeclarationError 7576: (34-35): Undeclared identifier.